enabling threads on HP-UX

j vickroy jvickroy at sec.noaa.gov
Mon Jun 12 12:29:16 EDT 2000


Hello,

Our systems administrator has installed Python 1.5.2 (downloaded from
www.python.org) on an HP-UX (v 11) OS with threads enabled.  File
./configure was run with the '--with-thread' option.

The following is a sample session illustrating the problem:

$ python
Python 1.5.2 (#1, Jun  9 2000, 14:42:40)  [GCC 2.95.2 19991024
(release)] on hp-uxB
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> def count():
...     for i in range(1,10): print i
...
>>> count()
1
2
3
4
5
6
7
8
9
>>> import thread
>>> thread .start_new_thread (count, () )
Traceback (innermost last):
  File "<stdin>", line 1, in ?
thread.error: can't start new thread



Any ideas about what we have done incorrectly?

Thanks for your time.




More information about the Python-list mailing list