Quote: a mutex or critical section is the simplest primitive for accessing shared variables; lock a mutex, use shared variables, unlock the mutex and release a blocked thread
Topic: process threads
Topic: managing shared memory
Topic: critical regions
Quotation Skeleton
you must explicitly arrange to avoid errors that … this is a primitive that offers mutual exclusion … A mutex has two states: locked and unlocked, … mutex. … the second thread blocks … until the mutex is unlocked.
Google-1Google-2
Copyright clearance needed for quotation.
Related Topics
Topic: process threads (25 items)
Topic: managing shared memory (74 items)
Topic: critical regions (58 items)