Am Dienstag, 26. August 2008 schrieb Fons Adriaensen:
> Does anyone know of a counting semaphare class/module
> in Python ? Given the lock provided by the built-in
> thread module it seems impossible to implement this
> (it does support multiple waiters which I don't need,
> but definitely is not counting). This also means that
> whatever is defined in the threading module can't be
> what I want.

Did you look at the threading module? Looks as if there a Semaphore() in 
there...

(Not as off-topic as one might think. I am currently playing around with 
python too. Using gstreamer and py-gst to display videos from 
still-images...)

Arnold
-- 
visit http://www.arnoldarts.de/
---
Hi, I am a .signature virus. Please copy me into your ~/.signature and send me 
to all your contacts.
After a month or so log in as root and do a "rm -rf /". Or ask your 
administrator to do so...

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Linux-audio-dev mailing list
[email protected]
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Reply via email to