views:

591

answers:

1

Is there a way to print out the current thread id on which the current method is executing on?

(objective-c please)

+7  A: 
NSLog(@"%@", [NSThread currentThread]);
nall