12-25-2007 08:23 PM
12-26-2007 05:41 AM
Notifiers have quite a similar behavior with events.
It is not a polling method. Code is not executed until an event occurs (wait on notification).
12-26-2007 03:16 PM
12-26-2007 07:19 PM
If there is multi writer or reader, how to handle it? How to lock the interlink. How to archive the event driven in cornel level.
I just want to find out the internal machnism.
12-27-2007 04:56 AM
I didn't understand what you want to do. Can you describe your desired architecture in more details?
In general, multiple readers and multiple writers require different tools and it varies even more depending on whether you want to keep all the data or whether it can be lossy.
Locking can usually be done with single-element queues or with semaphores, but again, it depends on the desired architecture.