no parallel threading?

Roman Suzi rnd at onego.ru
Wed Sep 5 15:00:18 EDT 2001


On Wed, 5 Sep 2001, Tobias Unruh wrote:

>> On Wed, 5 Sep 2001, Tobias Unruh wrote:
>
>def test_thread_func1():
>    k=0L
>    print "hello1"
>    for i in range(1000000):
>        k=k+1
>    print "hello1"


Put hello into the loop and another delay loop.

    for i in range(20):
      print "hello1"
      for i in range(100000):
        k=k+1




>but nothing changed.
>
>I installed now Python 2.2.a2. But again the same problem...
>
>Do I have it to write in C++?
>
>>
>> BTW, this is what intrigued Linus most and was supported from the very
>> first version of Linux ;-) (in processes, of course, not threads)

Sincerely yours, Roman Suzi
-- 
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Wednesday, September 05, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "... Clinton sandwich: $5 of baloney and $20 in taxes" _/





More information about the Python-list mailing list