1 2 3 4 5 6 7 8 9
// // NSThread+ThreadIndex.h // #import <Foundation/Foundation.h> @interface NSThread (ThreadIndex) - (NSInteger)threadIndex; @end