Re: [Pyobjc-dev] Cocoa, httplib and threads?
Brought to you by:
ronaldoussoren
From: Diez B. R. <de...@we...> - 2011-07-15 06:53:22
|
On Jul 15, 2011, at 3:43 AM, Greg Ewing wrote: > I'm trying to use httplib to send an http request in > a background thread. It works fine on its own, but when > I do it inside a Cocoa application, the thread hangs > as soon as it tries to send the request. > > It doesn't seem to be a GIL problem, because I can do > other things in the thread leading up to that point. > It's just sending the request that seems to block. > > Is there anything I should be aware of when using > the threading module in conjunction with pyobjc? I've used threads + Cocoa without a hitch, so without more information I can only assume it's something you do. Diez |