Event Ports

poll(2) 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 port_get(3c) 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.

Comments:

Post a Comment:
Comments are closed for this entry.
About

garypen

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today