Multithreading

Lock, Monitor, Semaphore

Lock

A lock allows only one thread to enter the part that’s locked and the lock is not shared with any other processes. A mutex is the same as a lock but it can be system wide (shared by multiple processes).

(more…)

Advertisements