AMPI_Just_migrated callbacks break using tlsglobals/isomalloc
AMPI doesn't properly take care of turning on/off isomalloc and tlsglobals before calling the user's justMigrated function.
#2 Updated by Sam White almost 3 years ago
This is tricky, because we need to create an instance of TCharmAPIRoutine from the user's thread only after their about_to_migrate routine has executed, and we need to destruct that instance right before their just_migrated function executes. Also, there seem to be deeper issues with tlsglobals+isomalloc...