Changes between Version 13 and Version 14 of Documentation/SystemQueue
- Timestamp:
- Jun 21, 2013, 3:09:03 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Documentation/SystemQueue
v13 v14 27 27 Every 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. 28 28 29 Synchronizing with the main Ariba thread is easy, thanks to the !SystemQueue. We will no texplain step-by-step how to use the !SystemQueue in your code:29 Synchronizing 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: 30 30 31 31 1. In you {{{.h}}} file integrate the !SystemQueue header and some {{{using}}} declerations: