Re: [Orbit-python-list] Catching SIGINT inside orb.run()
Status: Inactive
Brought to you by:
tack
From: Jason T. <ta...@li...> - 2000-11-30 01:24:37
|
> If you have an idea of where I can start looking I promise I'll try > digging in myself, so let me know. Not at this point. As soon as I find something I'll let you know. > Unrelated: would orbit-python work with orbit-mt? I'm asking because it > seems rather simple to multithread a python app with orbit, but if orbit's > not thread-safe all sorts of ugly things could happen, couldn't it? I committed some changes to CVS back in August to make ORBit-Python thread-safe by using the global interpreter lock, but I have some reservations about the correctness of this code. My initial thoughts were that Python's interpreter will prevent two threads from simultaneously calling ORBit functions, but I may want to reinvestigate this, especially since Roland's bug report in September (see the list archives). I don't know much about orbit-mt, but my impressions from what I've read on the project's webpage is that it would be workable with ORBit-Python with some trivial changes. Jason. |