exit

| | Comments (0)
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. use.perl.org

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on October 29, 2001 8:39 PM.

makeslides and Mozilla site navigation was the previous entry in this site.

New Computer is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.