Is curses thread-safe?

Brian Alexander brian094 at sympatico.ca
Fri Apr 11 22:06:34 CEST 2003


Hello;

Is the curses module thread-safe? Can I do this:

class windowThread(threadClass):
  def __init__(self):
   threadClass.__init__()
   self.thisWindow = curses.newwin()
   ...

... and expect every thread created to behave well during calls the the 
curses I/O routines?

Brian.





More information about the Python-list mailing list