theads & global namespaces
ze5yr
ze5yr at my-deja.com
Thu Jul 1 12:32:47 EDT 1999
More information about the Python-list mailing list
Thu Jul 1 12:32:47 EDT 1999
- Previous message (by thread): theads & global namespaces
- Next message (by thread): Why is no exception raised for file.read() when file is only writeable?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <7ldqi2$nc1$1 at nnrp1.deja.com>, rdev at my-deja.com wrote: > - If you're running on Solaris, the thread won't get to run > unless you give up some time. So try putting a time.sleep(.001) > into your while loop. On NT, this is not necessary (don't know > why.) It works on NT, but the looping thread will eat up horrendous amounts of CPU time (at least it does if under pthreads, don't know if Python threads would do the same). So it's a good idea to use time.sleep under NT as well. -- Cliff Crawford -><- http://www.people.cornell.edu/pages/cjc26 empty-handed I go, )O( and behold the spade is in my hands Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.
- Previous message (by thread): theads & global namespaces
- Next message (by thread): Why is no exception raised for file.read() when file is only writeable?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list