Problem in threading
It's me
itsme at yahoo.com
Thu Dec 30 01:17:41 EST 2004
"Gurpreet Sachdeva" <gurpreet.sachdeva at gmail.com> wrote in message
news:mailman.8581.1104384222.5135.python-list at python.org...
>
> So That means blindly using threads on any process won't help!
>
It depends on what "help" means to you. Both Windows and Unix (and it's
variances) are considered "thread-weak" OSes. So, using thread will come
with some cost. The long gone IBM OS/2 is a classic example of a
"thread-strong" OS.
Still, a good use of thread would be, for example, a name-pipe server. See
for instance:
http://www-106.ibm.com/developerworks/linux/library/l-rt4/?open&t=grl,l=252,p=pipes
Here you will see a performance improvement when threads are being used.
The example you listed isn't a good use of thread for performance
improvement sake.
More information about the Python-list
mailing list