Re: Works in main Thread, but not in background Thread

2009-01-07 Thread Nick Zitzmann
On Jan 7, 2009, at 7:57 AM, John Love wrote: Let me wrap this up by saying when myRoutine is called in my main thread, everything works fine .. but when called by my background thread (via [NSThread detachNewThreadSelector:toTarget:withObject:] it definitely does not work. There are a h

Re: Works in main Thread, but not in background Thread (modified)

2009-01-07 Thread Jason Foreman
Hi John, On Wed, Jan 7, 2009 at 9:01 AM, John Love <> wrote: > NSWorkspace *workSpace = [NSWorkspace sharedWorkspace]; > Let me wrap this up by saying when myRoutine is called in my main thread, > everything works fine .. but when called by my background thread (via > [NSThread detachN

Re: Works in main Thread, but not in background Thread (modified)

2009-01-07 Thread glenn andreas
On Jan 7, 2009, at 9:01 AM, John Love wrote: NSWorkspace *workSpace = [NSWorkspace sharedWorkspace]; NSArray *runningAppDictionaries = [workSpace launchedApplications]; Let me wrap this up by saying when myRoutine is called in my main thread, everything works fine .. bu

Works in main Thread, but not in background Thread (modified)

2009-01-07 Thread John Love
This request focuses on an old cocoabuilder thread: http://www.cocoabuilder.com/archive/message/cocoa/2007/3/8/179989 David writes: > But now I find I have a BOOL method that is rarely and randomly returning NO when the only exit to the method is "return YES;" so I have some strange problem

Works in main Thread, but not in background Thread

2009-01-07 Thread John Love
This request focuses on an old cocoabuilder thread: http://www.cocoabuilder.com/archive/...007/3/8/179989 David writes: > But now I find I have a BOOL method that is rarely and randomly returning NO when the only exit to the method is "return YES;" so I have some strange problem somewhere.