[gambit-list] Take 2 : __cleanup() problem (OS X 10.6.6 / Gambit-C 4.6.0)

David Dreisigmeyer dwdreisigmeyer at gmail.com
Sat Jan 15 14:32:42 EST 2011


I guess I don't understand why this doesn't print or sleep either:

___EXP_FUNC(void,___cleanup) ___PVOID
{
 /*
  * Only do cleanup once after successful setup.
  */

printf ("setup_state : %i \n" , setup_state);
fflush (stdout);
sleep(30);

 if (setup_state != 1)
   return;

 setup_state = 2;

 ___cleanup_mem ();
 ___cleanup_os ();
}



More information about the Gambit-list mailing list