2013-07-03 2 views
3

아무도 [NSThread currentThread]의 반환 값의 의미를 설명해 주시겠습니까?[NSThread currentThread]의 반환 값의 의미

NSLog

NSLog(@"%@", [NSThread currentThread]); 

결과

<NSThread: 0x1e04ed60>{name = (null), num = 5} 

뭐라고를 따르고 있습니다?

  1. : 이
  2. 이름 = (널)
  3. 이 납입은 = 5

이 납입은 = 5 스레드 수와는 아무 상관이없는 나열 "NSThread 0x1e04ed60" Xcode (NSOperationQueue 함께 여러 스레드를 실행하고 있기 때문에 스레드 9이이 인스턴스에 대한 보여줍니다)

exp 사과 doc에서 lanation 꽤 쓸모가 없다, 반환 값 현재 실행 스레드를 나타내는 스레드 개체. https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSThread_Class/Reference/Reference.html

고맙습니다!

답변