Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Reentrant Locks - Part II

We may use a binary semaphore to implement a lock for mutual exclusion as in the following code snippet:

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content