[Ace-users] Select Reactor notify()

tamri TShacked at gmail.com
Tue Jun 26 07:06:51 CDT 2007


Hi All,

I'm using ACE 5.5.1.
Our server composed of:
1.one network thread which use(own) a select reactor, for receiving
and sending messages. (via handle_events() with infinity to)
2. several workers threads.

When a worker thread finish working, it notify the select_reactor
(with read mask).

Does this call is thread safe? Since several threads might invoke it
in parallel.
I trace ACE code to see how the Reactor is notified; it seems that a
message is send to the reactor and I guess its protected.
YET ... I would appreciate yours comments.

Thanks, Tamar.



More information about the Ace-users mailing list