5 * Copyright (c) 2008 iThink Software
9 #import <Foundation/Foundation.h>
11 @protocol ITThreadChild <NSObject>
12 + (void)runWithPorts:(NSArray *)portArray; // portArray[0] = receivePort, portArray[1] = sendPort. register an uninitialized object!
15 @protocol ITThreadParent <NSObject>
16 - (id)objectByPerformingSelector:(SEL)selector onClass:(Class)class;
17 - (BOOL)registerThreadedChild:(id <ITThreadChild>)childObject; // receives an uninitialized (only alloc'd) child
20 @interface ITThreadChild : NSObject <ITThreadChild> {
24 + (void)runWithPorts:(NSArray *)portArray;