Re: [Orbit-python-list] Threading support
Status: Inactive
Brought to you by:
tack
From: Joseph T. B. <jb...@tj...> - 2000-08-28 14:04:37
|
cool. Like I said, I was probably just being paranoid. jb Jason Tackaberry writes: > > My concern is that if someone unsuspectingly calls orb.run from > > different threads within the same process, is it a possibility that 2 > > threads could be inside the the corba module C code at the same time > > Why would you want or need to execute orb.run() in more than one thread? > Assuming you did, ORBit might not like that too much. (Although I just > tested it and it didn't seem to cause any problems, it just seemed to > ignore one of the threads.) > > Anyway, the global interpreter lock saves us from the possibility of > 2 threads being inside the CORBA module at once. The only exception is > calling orb.run() in more than one thread, which shouldn't be necessary > anyway. > > Jason. -- ------------------+ Joseph T. Bore | jb...@TJ... | ------------------+ |