Front page | perl.perl6.internals |
Postings from January 2001
Speaking of signals...
Thread Next
From:
Dan Sugalski
Date:
January 3, 2001 18:43
Subject:
Speaking of signals...
Message ID:
5.0.2.1.0.20010103213901.01d73470@24.8.96.48
I think one of the things we might want to do is figure out what people use
signals for and see if we can abstract out some of that functionality
without actually exposing signals. (From an internals standpoint, at least)
The big one I can think of is interrupting timers. Right now people use
alarm and a signal handler because you have to, but that's rather limiting
as you can only have one, and doesn't work on Windows or under threads.
Providing some mechanism to register multiple timers that will fire off and
interrupt activity in a thread strikes me as a useful thing. Are there any
others anyone can think of? (Excepting I/O signalish things, which will get
handled elsewhere)
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
dan@sidhe.org have teddy bears and even
teddy bears get drunk
Thread Next
-
Speaking of signals...
by Dan Sugalski