Synchronization Objects
Synchronization routines that ensure a coordinated execution of threads and a safe access to resources are an integral part of a multithreaded execution system. Windows Embedded CE has the following synchronization objects:
Critical sections.
Mutexes.
Semaphores.
Events.
Point-to-point message queue.
In addition to these objects, you can also use a thread’s handlers and interlocked functions.
Each type of synchronization object has its own name space. An object with an empty string (‘’) is also considered a named object.
Synchronization objects can be in a signaled or a non-signaled state. A thread requests a synchronization object and is blocked if an object is in a non-signaled state. After an object switches to a signaled state, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access