Reentrant lock

Can somebody guide me to write a code for Reentrant lock?
They're built into the Operating System and generally made avaliable thru a local library. Mutexes and Semaphores are examples.
I guess I got it. pthread libraries will help me building one. I wanted to build one of my own and for that needed monitors which pthread is providing.
For Unix, yes.
Topic archived. No new replies allowed.