Can somebody help me in knowing the difference between MUTEX and Semaphore?
Blaze 16-September-2007 06:01:40 PM

Comments


please visit:
geekswithblogs.net/shahed/archive/2006/06/09/81268.aspx - 81k -
Posted by waqasahmad


A MUTEX is a lock. You can place a MUTEX Lock on a resource among processes/threads in order to lock it. When MUTEX is released, the resource is also released.
A Semaphore is a signal raiser, or a token. When you wait for a MUTEX to be released, you might need to listen to a specific semaphore caused by the MUTEX release.

Posted by bennith_samuel



Posted: 28-September-2007 12:18:43 PM By: bennith_samuel

A MUTEX is a lock. You can place a MUTEX Lock on a resource among processes/threads in order to lock it. When MUTEX is released, the resource is also released.
A Semaphore is a signal raiser, or a token. When you wait for a MUTEX to be released, you might need to listen to a specific semaphore caused by the MUTEX release.

Posted: 31-December-2008 01:23:32 PM By: waqasahmad

please visit:
geekswithblogs.net/shahed/archive/2006/06/09/81268.aspx - 81k -