Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > mutual exclusion of n processes - algorithm.

Reply
Thread Tools

mutual exclusion of n processes - algorithm.

 
 
ppp
Guest
Posts: n/a
 
      12-05-2006
Hi, I'm looking for some algorithm of mutex for n processes and I found
only Lamport's Alg. There are at least 2 more algorithms: Peterson and
Dekker. I found algorithms only for 2 processes, but I need one more
for n. If you know any other algorithms or know how to implement one of
these - I will be thankful.

greetings...

 
Reply With Quote
 
 
 
 
Oliver Wong
Guest
Posts: n/a
 
      12-05-2006

"ppp" <> wrote in message
news: ps.com...
> Hi, I'm looking for some algorithm of mutex for n processes and I found
> only Lamport's Alg. There are at least 2 more algorithms: Peterson and
> Dekker. I found algorithms only for 2 processes, but I need one more
> for n. If you know any other algorithms or know how to implement one of
> these - I will be thankful.
>
> greetings...
>


http://en.wikipedia.org/wiki/Peterson%27s_algorithm
<quote>
[Note: Peterson's Algorithm can be generalised for more than two processes,
as discussed in "Operating Systems Review, January 1990 ('Proof of a Mutual
Exclusion Algorithm', M Hofri)".]
</quote>

- Oliver


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
for mutual exclusion of n processes - algorithm. ppp Java 1 12-05-2006 01:50 PM
mutual exclusion of n processes - algorithm. ppp Java 0 12-05-2006 01:35 PM
mutual exclusion of n processes - algorithm. ppp Java 0 12-05-2006 01:35 PM
SGI: Need Something like 1 Mutual Exclusion Semaphore for Multible Programs clusardi2k@aol.com C Programming 4 07-07-2005 09:26 PM
non-blocking mutual exclusion Giambattista Bloisi Java 1 12-16-2003 01:20 PM



Advertisments