Re: need some help with threading module...

From: Steve Holden (steve_at_holdenweb.com)
Date: 12/30/04


Date: Thu, 30 Dec 2004 14:05:34 -0500

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


Relevant Pages

  • Re: Future of IT in Lebanon
    ... working knowledge of Indian programmers DNA, nor of their intuitive Java ... > So Longhorn is not an experiment and Linux is an experiment? ... another chapter in the Windows story, and the Microsoft marketing machine is ... > application opens, Check the about, it says Microsoft Visual Basic 6.3. ...
    (soc.culture.lebanon)
  • FTP DOWNLOAD! More than 6500 CRACKED SOFTWARE(CAD,CAE,CAM,ED
    ... Autodesk Architectural Desktop 2005 ... DASSAULT SYSTEMES CAA ENOVIA LCA V5R13 ... ALTAIR.OPTISTRUCT V5.1 for LINUX ... ANSYS V8.0 FOR WINDOWS ...
    (microsoft.public.dotnet.framework.adonet)
  • Linux for Senior Citizens
    ... Linux for Senior Citizens ... For such people, I believe, Windows really is a better option: ... The kernel manages all the hardware and also looks after all running ...
    (uk.people.silversurfers)
  • Re: Future of IT in Lebanon
    ... It's the same Linux code base. ... Microsoft Office on a Windows server, it will install and run fine, the main ...
    (soc.culture.lebanon)
  • Re: [SLE] Developing a Real Time Data System
    ... The KBasic License is valid for both operating systems: Windows and Linux. ... Modern BASIC language ... chapters learning about the programming language. ...
    (SuSE)