On Wed, 2008-03-12 at 00:20 -0700, Sophie Hu wrote: > However, in my case, each time I get eventList from port_getn(), I > still need to search the while array/list to get some other client > information based on socketID I get from eventList.
You shouldn't need to do this -- that's what the "user" argument to port_associate is for; it gets returned in the "portev_user" field of the port_event_t returned from port_getn()/port_get(). You can go directly to your application structures without needing to do a table lookup.. - Bill _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org