ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved