multithreading on Linux

Duncan Grisby dgrisby at uk.research.att.com
Mon Sep 4 12:28:11 CEST 2000


In article <slrn8r6r97.3gj.bbp at zen.via.ecp.fr>,
 Brieuc Jeunhomme <bbp at via.ecp.fr> wrote:

>However, I have recently written a multithreaded app, and I can't
>understand why I always get weird
>'currentThread(): no current thread for 1026' when a thread terminates.
>Probably I have missed something.

This happens when you mix threads created with the thread module (or a
C extension) with constructs in the threading module. You should use
the threading module to create threads if you intend to use threading
for anything else.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --



More information about the Python-list mailing list