"Gurpreet Sachdeva" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> 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.



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to