Hi Marc,
It's still not working. With the attached, doing:
$ make tester && ./gambit_tester > hold && nano hold
gives (in hold):
Beginning Gambit-C setup. Gambit-C setup done. |Gambit-C> (+ 1 2) 3 Releasing temp string. Beginning Gambit-C cleanup.
It should be:
Beginning Gambit-C setup. Gambit-C setup done. |Gambit-C> (+ 1 2) 3 Releasing temp string. Beginning Gambit-C cleanup. Gambit-C cleanup done.
Also, the following does not print or sleep (in setup.c):
___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 (); }
-Dave
On Mon, Jan 17, 2011 at 6:26 PM, Marc Feeley feeley@iro.umontreal.ca wrote:
On 2011-01-17, at 4:20 PM, Marc Feeley wrote:
I have done some refactoring of os_io.c to prevent closing file descriptors that were open when ___setup was called. The changes have been pushed to the repository. Could you please repeat your experiments with the new code?
... and if you encounter problems, please make a tar ball with makefile with all the required files and I will investigate.
Marc