multithreading

David LeBlanc whisper at oz.net
Mon May 20 22:15:09 EDT 2002


Although, of course, you can create any access managed datatype as long as
the primatives are there...

David LeBlanc
Seattle, WA USA

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Aahz
> Sent: Monday, May 20, 2002 18:59
> To: python-list at python.org
> Subject: Re: multithreading
>
>
> In article <mailman.1021921968.9210.python-list at python.org>,
> David LeBlanc <whisper at oz.net> wrote:
> >
> >Lock, Semaphore and friends mentioned in the pythondoc (2.2.1) aren't
> >atomic? If not, then they're misnamed since atomicity is a required
> >property of such operations.
>
> What Peter meant is that Queue is the only single atomic operation for
> passing data between threads.  Lock & Semaphore are atomic, but they
> aren't by themselves sufficient for passing data.
> --
> Aahz (aahz at pythoncraft.com)           <*>
> http://www.pythoncraft.com/
>
> "In the end, outside of spy agencies, people are far too trusting and
> willing to help."  --Ira Winkler
> --
> http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list