Re: [Orbit-python-list] Orbit-python and threading?
Status: Inactive
Brought to you by:
tack
From: Jason T. <ta...@li...> - 2001-11-07 22:04:08
|
On Wed, 2001-11-07 at 15:35, Christian Robottom Reis wrote: > Okay. This is a feature that we have been desiring for a while now, and if > Tack thinks it's okay, i'd like to do a 0.3.2 pre-version that includes Well this is certainly something for 0.4.0, and not 0.3.x. My first instinct was to reject this approach and say I'd much rather do it a less kludgey way (that is, make o-p thread-safe). Now that I think of it, I think that the orbit2 port Johan is working on is really the way to go with this one, because orbit2 is (purportedly) thread-safe. I suspect that 0.5.0 may not work out as I planned in the road map I posted a few months ago. I think I may focus on standards compliance for 0.4.0, since stability is nearly there now, and after that maybe help Johan with the orbit2 port. That said, I still maintain your patch is something for 0.4.0 and not 0.3.2, so we'll look at that more closely when the time comes. > I'm surprised your threading example doesn't crash, but I don't know > threading very well at all. Tack? :) It doesn't crash because orbit-python has the global interpreter lock before it calls ORB.run(), so essentially all the other threads get suspended. (Specifically, they're waiting for the interpreter lock to be released.) Jason. |