Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Peterson Leader Election

Name: Anonymous 2010-10-25 0:07

Hey /prog/, for the Peterson Leader Election, if I'm using channels between the nodes with a queue in a multithreaded program, do I need to make the queue in each channel equal in size to the number of nodes?

tl;dr n nodes means n size of queue in channels in peterson leader election?

Name: Anonymous 2010-10-25 2:22

Fuck, are you retarded? It took me 30 seconds of Googling and 10 seconds of thinking to understand the entire algorithm up to the point of being able to implement a simulation for it.

Name: Anonymous 2010-10-25 20:54

>>6
>Hurp, are you derp?  It herp me 30 seconds of derp hurp derp de derpa derpa doo up to the derp of herpa derp to derp a herp for it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List