hey guys! I need to know how to use pthreads with mutex to protect the critical section!!

Recommended Answers

All 2 Replies

hey guys! I need to know how to use pthreads with mutex to protect the critical section!!

read this

Thankx, that is just what i want.
can u explain how to implement monitors using semaphores!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.