Public Member Functions | |
| (LLThreadWorker *) | - initWithTarget:selector:argument:didEndSelector: |
| (void) | - startThread: |
| (void) | - runPrimaryTask: |
Definition at line 4 of file LLThreadWorker.m.
| - (LLThreadWorker *) initWithTarget: | (id) | target | ||
| selector: | (SEL) | selector | ||
| argument: | (id) | argument | ||
| didEndSelector: | (SEL) | didEndSelector | ||
initWithTarget:selector:argument:didEndSelector:
| target | Object to receive the work in another thread. | |
| selector | Selector to call on target. | |
| argument | Argument to pass through selector to target. | |
| didEndSelector | Optional selector to call on target when the thread (and your work) is done. Only legitimate initialization routine. |
| - (void) runPrimaryTask: | (id) | notUsed |
runPrimaryTask: First method run in newly-created NSRunLoop.
| - (void) startThread: | (NSArray *) | callingPortArray |
startThread:callingPortArray: This is the method that is first detached in another thread.
1.4.7