[ace-users] howto return immediately from poll ?

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Thu Jun 14 05:55:23 CDT 2007


Hi,

>> The only portable way to do this is to use a "notify pipe" and then
>> use ACE_OS::select() to wait on the notify pipe's handle *and* your
>> I/O descriptor
>here "notify pipe" is what class ? I searched in the ACE library, but
>can not find such class (like ACE_Notify_Pipe).

I'm referring here to ACE_Pipe, which is described in Chapter 4 of
C++NPv2 <www.cs.wustl.edu/~schmidt/ACE/book2/>.  This is what the
ACE_Select_Reactor uses internally.

Take care,

     Doug
-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list