Changes between Version 12 and Version 13 of Documentation/SystemQueue


Ignore:
Timestamp:
Jun 21, 2013, 3:07:11 PM (11 years ago)
Author:
hock@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/SystemQueue

    v12 v13  
    2121The !SystemQueue class has one main thread that uses {{{boost::condition}}} with the {{{wait}}} and {{{signal}}} functionality to implement a queue. The thread blocks and waits until a new event is inserted into the queue. It then executes this event and calls the event handler that is assigned to this event. The insertion and execution of an event therefore are decoupled in terms of threading and run asynchronous.
    2222
    23 One example of events are imcoming network messages. When a packet comes in from the network a new event is generated and the packet attacked to this event. The event is inserted into the !SystemQueue and gets processed asynchronous from the !SystemQueue thread.
     23One example of events are imcoming network messages. When a packet comes in from the network a new event is generated and the packet attached to this event. The event is inserted into the !SystemQueue and gets processed asynchronous from the !SystemQueue thread.
    2424
    2525== Using the !SystemQueue ==