Re: Working with C-functions in separate NSThreads: via Stack or Heap?

2010-11-08 Thread Frederick C. Lee
My original reply was too long for Cocoa Dev; then I lost it. So this is another (small draft)... It appears I'll be working with blocks, keeping the data/functioning local to the stack copying data out to the GUI: typedef sat_t (^MyBlock)(); // C - function: int addFoot(int k) {

Working with C-functions in separate NSThreads: via Stack or Heap?

2010-11-04 Thread Frederick C. Lee
Environment: iOS SDK 4.2+ Xcode 3.2.5 Desired design: 1) Multiple NSThreads (via NSOperation?) running NSObjects in parallel: processing the same C-functions (with different data) in real time till conclusion (or cancelled). 2) These C-functions are located in a common *.c file (or two);