Changes between Version 13 and Version 14 of Documentation/SystemQueue


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Documentation/SystemQueue

    v13 v14  
    2727Every mechanisms that gets triggered by some external event must get synchronized with the main !SystemQueue thread. If you e.g. observe the network card and want to execute some stuff on network changes, you must synchronized with the !SystemQueue. Why? Because a network packet might get processed and call some code that you would maybe call, too. Therefore producing parallel access to some code and causing threading problems.
    2828
    29 Synchronizing with the main Ariba thread is easy, thanks to the !SystemQueue. We will not explain step-by-step how to use the !SystemQueue in your code:
     29Synchronizing with the main Ariba thread is easy, thanks to the !SystemQueue. We will now explain step-by-step how to use the !SystemQueue in your code:
    3030
    3131 1. In you {{{.h}}} file integrate the !SystemQueue header and some {{{using}}} declerations: