Re: Threading unfairness
by Peter Hansen other posts by this author
May 21 2002 11:57AM messages near this date
Threading is actually fair
|
RE: Threading unfairness
David LeBlanc wrote (top-posting...David, please don't top-post):
>
> hehehe
>
> We'd have to call it thread.giveitup() since, in spite of my arguments to
> the contrary, "yield" now has different semantics in Python then in most
> other languages/libraries that support the keyword.
Alternatively, we could use threading.Thread.yield_(), in keeping with the
ugly precedent established with unittest.TestCase.assert_() and the
recently discussed poplib.POP3.pass_() methods.
-Peter
--
http://mail.python.org/mailman/listinfo/python-list
Thread:
Peter Hansen
David LeBlanc
|