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