Fredrik Lundh: Thread Synchronization Mechanisms in Python
July 28th, 2007 Posted in Programming, Python
A new article was posted by Fredrik Lundh (effbot) today, entitled Thread Synchronization Mechanisms - it's all around Python threads/locks/etc, and really an excellent read.
Remember though boys and girls - threads are cool, fun and an easy way of gaining paralleism inside of your applications but won't properly handle multi-core/CPU load management. For that you need something else (cough fork exec cough).
In any case, if you are new to Python (or threading) please read Fredrik's Article. If you're looks for little examples/information, check out:
Quick Reads:
- PDF - Tutorial on Threads Programming with Python
- Basic Threading in Python
- Understanding Threading in Python
- WikiBooks: Python Programming/Threading
Example implementations/libraries:


July 28th, 2007 at 11:05 pm
People might want to look at the processing module for an easy transition to that “something else”.
July 31st, 2007 at 2:02 am
And yet, Intel is pushing, and I mean PUSHING thier multi-thread frameworks for ‘getting the full power out of multi-core, multi-processor systems’. Sure this does include an IPC framework, but that is being downplayed and for only the most ‘advanced’?
July 31st, 2007 at 7:59 am
I know, I saw that come from intel - I haven’t had a chance to take more than a cursory glance at it at this point.