This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Semantics of `exit' - exit thread or application?



Mikael Djurfeldt <mdj@nada.kth.se> writes:

> But I can imagine that it sometimes would be nice to be able to exit
> the application, no regard what threads are running.  In this respect,
> maybe `(exit RESULT)' should mean "kill all threads and exit the
> application with result RESULT", and "exit current thread" should be
> called `thread-exit' instead...

I think it is good to provide the additional functionality of having
distinct 'exit' and 'thread-exit' procedures.  If the programmer
really, really wants to exit the program now, that should be possible.

-russ

--
My mailer limits .sigs files to 2 lines. But ingeniously I bypassed this by