Re: [Orbit-python-list] Threading support
Status: Inactive
Brought to you by:
tack
From: Jason T. <ta...@li...> - 2000-08-28 13:59:45
|
> 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. |