[EMAIL PROTECTED]
> is treated as a boolean or as a number.
>
> Running on Windows, I get two different behaviors from
> the following calls to acquire:
>
> aLock = threading.Lock()
> ...
>
> # Thread 0
> # This one often succeeds
> aLock.acquire(1)
> ...
>
> # Thread 1
> # When
It's not clear to me from the Python docs whether waitflag
is treated as a boolean or as a number.
Running on Windows, I get two different behaviors from
the following calls to acquire:
aLock = threading.Lock()
...
# Thread 0
# This one often succeeds
aLock.acquire(1)
...
#