Fredrik Lundh: Thread Synchronization Mechanisms in Python

July 28th, 2007 § 3 comments

A new arti­cle was posted by Fredrik Lundh (eff­bot) today, enti­tled Thread Syn­chro­niza­tion Mech­a­nisms — it’s all around Python threads/locks/etc, and really an excel­lent read.

Remem­ber though boys and girls — threads are cool, fun and an easy way of gain­ing par­alleism inside of your appli­ca­tions but won’t prop­erly han­dle multi-core/CPU load man­age­ment. For that you need some­thing else (cough fork exec cough).

In any case, if you are new to Python (or thread­ing) please read Fredrik’s Arti­cle. If you’re looks for lit­tle examples/information, check out:

Quick Reads:

Exam­ple implementations/libraries:

  • http://swapoff.org Alec Thomas

    Peo­ple might want to look at the pro­cess­ing mod­ule for an easy tran­si­tion to that “some­thing else”.

  • http://www.dougma.com/ Doug Napoleone

    And yet, Intel is push­ing, and I mean PUSHING thier multi-thread frame­works for ‘get­ting the full power out of multi-core, multi-processor sys­tems’. Sure this does include an IPC frame­work, but that is being down­played and for only the most ‘advanced’?

  • http://www.jessenoller.com jesse

    I know, I saw that come from intel — I haven’t had a chance to take more than a cur­sory glance at it at this point.

What's this?

You are currently reading Fredrik Lundh: Thread Synchronization Mechanisms in Python at jessenoller.com.

meta