@Ankit: it seems like mutexes can work between processes. refer to
http://geeksforgeeks.org/?p=9102   m i right?

On Jun 17, 5:56 pm, ankit sambyal <ankitsamb...@gmail.com> wrote:
> Yes, even the threads of a single process cannot have access to each
> others mutex.
> Mutexes can be applied only to threads in a single process and do not
> work between processes as do semaphores.
>
> On Fri, Jun 17, 2011 at 5:40 AM, Akshata Sharma
>
>
>
> <akshatasharm...@gmail.com> wrote:
> > When a thread locks a mutex only it can unlock it. Does this implies that
> > even the threads of a single process cannot have access to each others
> > mutex? I mean, if a thread A of process P has acquired a mutex, then only
> > thread A can release it or a thread B of same process P can also release it?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Algorithm Geeks" group.
> > To post to this group, send email to algogeeks@googlegroups.com.
> > To unsubscribe from this group, send email to
> > algogeeks+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/algogeeks?hl=en.- Hide quoted text -
>
> - Show quoted text -

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

Reply via email to