|
楼主 |
发表于 2007-12-24 23:30:34
|
显示全部楼层
ACE_Dev_Poll_Reactor::ACE_Dev_Poll_Reactor ( size_t size,
int restart = 0,
ACE_Sig_Handler * = 0,
ACE_Timer_Queue * = 0,
int disable_notify_pipe = 0,
ACE_Reactor_Notify * notify = 0,
int mask_signals = 1,
int s_queue = ACE_DEV_POLL_TOKEN::FIFO
)
Initialize ACE_Dev_Poll_Reactor with size size.
注解:
On Unix platforms, the size parameter should be as large as the maximum number of file descriptors allowed for a given process. This is necessary since a file descriptor is used to directly index the array of event handlers maintained by the Reactor's handler repository. Direct indexing is used for efficiency reasons. If the size parameter is less than the process maximum, the process maximum will be decreased in order to prevent potential access violations. |
|