Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

pudge (1)

pudge
  (email not shown publicly)
http://pudge.net/
AOL IM: Crimethnk (Add Buddy, Send Message)

I run this joint, see?

Journal of pudge (1)

Monday October 29, 2001
11:39 PM

exit

[ #1109 ]

Exit in MacPerl has been plaguing me quite a bit, but Matthias sat me down and explained some bits I didn't quite get, and I think I have a better, if still incomplete, handle on it.

So there were two problems with exiting as we were: some tasks were left in the queue (including, perhaps, some "exit" tasks), and things that needed to get killed off (like the sleep timer) were not, because SIGINT was not raised. So now, we just raise SIGINT, which handles things as they should be handled, for the Stop Script command. And we have a new function to clear out the async tasks in the queue when the script starts.

I realize some of this might not make much sense ... but I am tired and going to bed.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.