Multi-threading: Difference between revisions

Lectem (talk | contribs)
m fixed declaration/definition mistake
Neobrain (talk | contribs)
Line 172: Line 172:


= Synchronization =
= Synchronization =
Synchronization can be performed via WaitSynchronization on any handles deriving from [[KSynchronizationObject]]. The semantic meaning of the call depends on the particular handle type:
* KClientPort: ???
* KClientSession: ???
* KDebug: ???
* KDmaObject: ???
* KEvent: Waits until the event is signaled
* KInterruptEvent: ???
* KMutex: Acquires a lock on the mutex (blocks until this succeeds)
* KProcess: ???
* KSemaphore: ???
* KServerPort: ???
* KServerSession: ???
* KThread: Waits until the thread terminates
* KTimer: ???


Most synchronization systems seem to have both a "normal" and "light-weight" version
Most synchronization systems seem to have both a "normal" and "light-weight" version