SMP, GIL and Threads

Aahz aahz at pythoncraft.com
Sat Dec 17 18:14:38 CET 2005


In article <1134836087.750678.312560 at g14g2000cwa.googlegroups.com>,
catsup <ramadon.rexx at gmail.com> wrote:
>
>It was actually quite a minor adjustment in the application to follow
>the oft repeated advice here on this subject to share only the
>Queue object between threads.  Making the update of the dictionary
>just another queued command request caused both the dictionary read
>and write to be performed by the same thread.  This seems to have
>eliminated the problem.

Great!
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Don't listen to schmucks on USENET when making legal decisions.  Hire
yourself a competent schmuck."  --USENET schmuck (aka Robert Kern)



More information about the Python-list mailing list