tcharm initization sends a function pointer in the tcharmInitMsg to broadcast to...
authorGengbin Zheng <gzheng@illinois.edu>
Fri, 6 Feb 2009 06:51:29 +0000 (06:51 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Fri, 6 Feb 2009 06:51:29 +0000 (06:51 +0000)
commitcedc2b9fb0c609b51eb6dcb1a8b7f84aec19f0ac
treea4fa094a30e3aba66e4d2f889fccf531b9a4ead6
parent427740a23c6b77f60ec27e99418c510ea9a2620e
tcharm initization sends a function pointer in the tcharmInitMsg to broadcast to every processor. This has problems with stack randomization and hetergrnous staff.
Change it to a function registration scheme by introducing a function TCHARM_Register_thread_function() to register a tcharm thread start function to an integer handler.
src/libs/ck-libs/tcharm/tcharm.C
src/libs/ck-libs/tcharm/tcharm.h
src/libs/ck-libs/tcharm/tcharm_impl.h
src/libs/ck-libs/tcharm/tcharmc.h