Thread Question
Ritesh Raj Sarraf
riteshsarraf at gmail.com
Fri Aug 4 08:07:12 EDT 2006
Carl Banks wrote:
>
> Exactly. Only one thread can hold a lock at a time. If a thread tries
> to acquire a lock that some other thread has, it'll wait until the
> other thread releases it. You need locks to do this stuff because most
> things (such as zipfile objects) don't wait for other threads to
> finish.
>
I would heartly like to thank you for the suggestion you made.
My program now works exactly as I wanted. Thanks. :-)
Ritesh
More information about the Python-list
mailing list