GEOS SDK TechDocs
|
|
|
4 Using Multiple Threads
|
5.1 Semaphores: The Concept
Because GEOS is a preemptive multitasking environment, it needs a way to prevent two threads from accessing system resources (or other shared data) simultaneously. Otherwise, data could be corrupted. GEOS uses semaphores to prevent to threads from performing conflicting operations at the same time.
GEOS SDK TechDocs
|
|
|
4 Using Multiple Threads
|
5.1 Semaphores: The Concept