[Twisted-Python] mutex in twisted?

Gabriel Rossetti mailing_lists at evotex.ch
Tue Mar 11 07:24:23 EDT 2008


Hello,

Is there some sort of mutex/semaphore code that can be used in twisted? 
I need to run an external subprocess from twisted when I get some data 
from a client and I'd like to make sure that while one client's data 
spawned the process to run, some other client will not do the same at 
the same time, thus my need for a mutex. Maybe there is another way to 
do this in a more twisted sort of way (pun not intended)? If so I'd love 
to hear how!

Thanks,
Gabriel




More information about the Twisted-Python mailing list