[Strmod-devel] Big merge, and signal handling!
Status: Alpha
Brought to you by:
omnifarious
From: Eric M. H. <ho...@om...> - 2001-09-04 13:30:41
|
I just merged a bunch of new code in the UniEvent system into the main branch. This code moves UniEvent itself into the strmod::unievent namespace, and renames some of the classes previously prefixed with UNI as this is no longer needed with namespaces. This is part of a bigger move to move the entire library to use namespaces. I also added UNIXSignalHandler. This can be used to turn signals into events handled by a subclass of Dispatcher. Dispatcher itself has the 'interrupt' and 'onInterrupt' methods added to its interface to support this usage. The main difficulty is that because of how I wrote the Dispatcher, it will only recognize 'interrupts' if it has events on its queue that can be interrupted. Since the Dispatcher is usually also used with a UNIXpollManager that sets an 'onQueueEmpty' event that does a 'poll', this is not a problem in many programs. I should be packaging this up into a new release sometime soon. I don't know yet if I consider the problem mentioned in the above paragraph severe enough to prevent release. To those who've recently unsubscribed and are getting this... This is the last message I'll send out. I just didn't want you to have unsubscribed over the seeming complete lack of activity. :-) Have fun (if at all possible), --=20 The best we can hope for concerning the people at large is that they be properly armed. -- Alexander Hamilton -- Eric Hopper (ho...@om...=20 http://www.omnifarious.org/~hopper) -- |