Re: [Twisted-Python] Mixing Python threads and Twisted code

2014-12-07 Thread Alexandre Quessy
Hello everyone, Thanks Jean-Paul for the tips! Now, I figured out that this thread was calling some callbacks, which in turn were either sending some UDP using a child of Twisted's datagram protocol, or launching processes using t.p.procutils.which and t.i.utils.getProcessOutputAndValue. None of t

Re: [Twisted-Python] Mixing Python threads and Twisted code

2014-12-06 Thread exarkun
On 06:15 pm, alexan...@quessy.net wrote: Hello everyone, What happens if some code starts a thread while I am using Twisted's reactor? Nothing special. Here is what I need to use: https://github.com/ekulyk/PythonPusherClient/blob/master/pusherclient/connection.py#L12 This thread polls some s

[Twisted-Python] Mixing Python threads and Twisted code

2014-12-06 Thread Alexandre Quessy
Hello everyone, What happens if some code starts a thread while I am using Twisted's reactor? Here is what I need to use: https://github.com/ekulyk/PythonPusherClient/blob/master/pusherclient/connection.py#L12 This thread polls some socket to handle received TCP messages. It appears it has been