"Vincent Diepeveen" <[EMAIL PROTECTED]> writes: > How about the latency to wake up that thread again. runqueue latency in linux > is > 10+ ms?
That assumes you have a 100Mhz clock (default is currently 250Mhz) and you have something else running. If you have something else running yielding is even more of a win because you get something productive done, when you would otherwise be idle. Plus you the scheduler will give your process a higher priority when it wakes up because it slept. In practice I don't expect anything interesting will happen in that time interval. So you should awake almost instantly. Eric _______________________________________________ Beowulf mailing list, Beowulf@beowulf.org To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf