[EMAIL PROTECTED] schrieb:
> But lacking a call to
> exit it will not quit (explicitly exiting an application is necessary due
> to the multi-threaded nature of Alice ML). So you at least have to do
> 
>   print "Hello World\n"; OS.Process.exit OS.Process.success

Hmm... I think having a global facilities accessible to all processes 
has problems once a program turns into a subprocess. Programmers would 
have to make sure that no stray OS.Process.exit or OS.Process.success is 
left in that code.

So what about charging the first ("main") thread with setting the exit 
code, and terminating the system when the last thread has exited?

Regards,
Jo

_______________________________________________
alice-users mailing list
[email protected]
http://www.ps.uni-sb.de/mailman/listinfo/alice-users

Reply via email to