@sharad :

Mutex can be released only by thread that had acquired it, while you can
signal semaphore from any other thread (or process), so semaphores are more
suitable for some synchronization problems like producer-consumer.

One Windows binary semaphores are more like event objects then mutants.

On Thu, Jun 10, 2010 at 9:19 PM, sharad <[email protected]> wrote:

> What is the difference between Mutex and Binary semaphore
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>
>


-- 
yezhu malai vaasa venkataramana Govinda Govinda

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to