Suspending/resuming processes

Randal L. Schwartz merlyn at stonehenge.com
Thu Dec 20 17:22:00 UTC 2007


>>>>> "Igor" == Igor Stasenko <siguctua at gmail.com> writes:

Igor> Please, let's not discuss how i can get around that issue. I'd like to
Igor> hear arguments for and against adding nesting capabilities of
Igor> suspend/resume methods.

Because you'll be changing what "resume" means.  Right now, I can guarantee
that resume gets it going again.  If you want to implement "countableSuspend"
and "countableResume" in your image, that's fine, but don't change what
suspend and resume currently do.

Or even more simply, evaluate uninterruptably a test-and-set, noting whether
or not you actually had to suspend something, or whether it was already
suspended.  Then resume only the things you actually suspend.  That'd be far
easier.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



More information about the Squeak-dev mailing list