Re: [Pyobjc-dev] Achieving 1.0....
Brought to you by:
ronaldoussoren
From: Jack J. <Jac...@cw...> - 2002-10-29 12:16:35
|
On Tuesday, Oct 29, 2002, at 11:31 Europe/Amsterdam, Jack Jansen wrote: > > On Monday, Oct 28, 2002, at 17:45 Europe/Amsterdam, Bill Bumgarner > wrote: >> When traversing from Python into Obj-C in a thread that was created >> in pure python (i.e. is just a pthread, does not have an NSThread >> instance), invoking NSThread's +currentThread method will return an >> NSThread that encapsulates the already created pthread. > > If you do this, does that make a pthread a fullblown NSThread? I.e. > does it make the problems you sketched earlier (such as > isMultiThreaded returning NO) go away? To answer my own question: no, it doesn't. isMultiThreaded still returns NO after this call. Is this a problem? If so, is there a way to tell NSThread that we *are* multithreaded? -- - Jack Jansen <Jac...@or...> http://www.cwi.nl/~jack - - If I can't dance I don't want to be part of your revolution -- Emma Goldman - |