[Twisted-Python] Twisted on QNX
I'm trying to get Twisted to work on a QNX computer (actually, I'm after buildbot but I need Twisted first) but I'm having problems getting it to run correctly. The long and short is that for some reason, threads and forks don't like each other much on QNX. I've been taking stabs at the code for Twisted but I'm not making much progress on my own yet. Is there some way to get rid of the forking in Twisted? (For those who have played with buildbot, the problems crop up when I try to checkout source code, it complains about the os.fork() not being implemented). Thanks in advance, Lyndsey
On Wed, 2005-08-10 at 08:25 -0700, Franklin, Lyndsey wrote:
I'm trying to get Twisted to work on a QNX computer (actually, I'm after buildbot but I need Twisted first) but I'm having problems getting it to run correctly. The long and short is that for some reason, threads and forks don't like each other much on QNX. I've been taking stabs at the code for Twisted but I'm not making much progress on my own yet. Is there some way to get rid of the forking in Twisted? (For those who have played with buildbot, the problems crop up when I try to checkout source code, it complains about the os.fork() not being implemented).
fork() is how you run a subprocess in Unix, and Buildbot needs to do that in order to run the program that checks out the sourcecode. If QNX has a different API for running subprograms, and that API is wrapped in Python, you could use that instead, though you may need to patch Buildbot to support that method, or better yet provide a patch for Twisted to implement reactor.spawnProcess for QNX.
On Wed, 10 Aug 2005 11:59:29 -0400, Itamar Shtull-Trauring
fork() is how you run a subprocess in Unix, and Buildbot needs to do that in order to run the program that checks out the sourcecode. If QNX has a different API for running subprograms, and that API is wrapped in Python, you could use that instead, though you may need to patch Buildbot to support that method, or better yet provide a patch for Twisted to implement reactor.spawnProcess for QNX.
or possibly get a site-license for all the Twisted developers to run QNX neutrino development environments. Just a thought ;-)
participants (3)
-
Franklin, Lyndsey
-
glyph@divmod.com
-
Itamar Shtull-Trauring