[Tutor] threads

Michael P. Reilly arcege@shore.net
Thu, 22 Mar 2001 09:00:51 -0500 (EST)


> Hi
> 
> Can someone tell me where the threading modules are........?
> 
> cheers

The base module is called "thread" - a built-in module.  If you cannot
import that module, then Python is not compiled with thread support.
There are some operating systems which do not support threads.

If your system does support threads, then you may need to reconfigure
Python from sources with the --with-threads option.

When you have the "thread" module, you will probably want to use the
"threading" module instead.  It has more support for threading
constructs like semaphores, condition variables, read/write locks.

  -Arcege

-- 
------------------------------------------------------------------------
| Michael P. Reilly, Release Manager  | Email: arcege@shore.net        |
| Salem, Mass. USA  01970             |                                |
------------------------------------------------------------------------