is a very handy system call, but have you ever wanted to extend the types of events that you can respond to as well as being able to multiplex events from disjoint sources?
Of course you have! This is just the kind of facility you need to help you write scalable, efficient multithreaded software.
Solaris 10 introduces the new event ports
facility designed to make this simpler.
If you are interested in finding out more about them, take a look at the
manpage. There is a short example which illustrates their power. Alternatively, if you haven't got access to Solaris 10, you can look at this