need some help with threading module...

Steve Holden steve at holdenweb.com
Thu Dec 30 20:05:34 CET 2004


M.E.Farmer wrote:

> chahnaz.ourzikene wrote:
> 
>>Hi,
>>
>>I fixed the code, it runs under Linux but not under windows 0_o ??! i
> 
> guess
> 
>>windows and Linux do not handle threads the same way.
>>
>>However, i don't have the result i excpect.
> 
> What did you expect? This is what it did on win 2000/python 2.2.3
> ######> controller waiting...  0 loops
> ######> controller waiting...  1 loops
> Subject : the counter is now 0
[...]
> Subject : the counter is now 38
> Subject : the counter is now 39
> It seems to be what you were trying to do.
> 
Could be the OP is using Cygwin, which won't support threading by 
default and will give very confusing results

just-a-guess-ly y'rs  - steve
-- 
Steve Holden               http://www.holdenweb.com/
Python Web Programming  http://pydish.holdenweb.com/
Holden Web LLC      +1 703 861 4237  +1 800 494 3119



More information about the Python-list mailing list