Re: NSOperationQueue
Re: NSOperationQueue
- Subject: Re: NSOperationQueue
- From: John Love <email@hidden>
- Date: Sat, 13 Sep 2008 11:34:19 -0400
> For clarification: It crashes after you call stopCalculation? Does it
> crash if you let the entire calculation complete?
It crashes in the process of letting the entire calculation complete.
If I place NSLog(@"start queue") at the beginning of -startQueue, the
Debugger shows "start queue". If I place NSLog(@"exit for-loop" at the
very end of my -calculateWorksheet:(id)data, the Debugger does not
show the "exit for-loop". During all this, I do nothing to call -
stopQueue, I just let it run.
Here is the entire Debugger log:
[Session started at 2008-09-13 11:30:54 -0400.]
2008-09-13 11:30:58.419 Calculate Medical[358:10b] start queue
[Session started at 2008-09-13 11:30:58 -0400.]
Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-960) (Sun May 18 18:38:33
UTC 2008)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-apple-darwin".Program loaded.
sharedlibrary apply-load-rules all
Attaching to program: `/Users/johnlove/Documents/XCode/Calculate
Medical - ScriptCtrl - queue/build/Release/Calculate Medical.app/
Contents/MacOS/Calculate Medical', process 358.
[Switching to process 358 thread 0xab0f]
[Switching to process 358 thread 0xab0f]
[Switching to process 358 thread 0x10b]
[Switching to process 358 thread 0x10b]
[Switching to process 358 thread 0x10b]
(gdb)
John Love
John Love
Touch the Future! Teach!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden