NSLog 10b meaning?

后端 未结 2 1744
悲哀的现实
悲哀的现实 2020-12-04 02:14

Whenever I use NSLog(), it always shows this mysterious \"10b\" next to the process ID. I know that this is tied somehow to the thread where the NSLog() call was made, but w

相关标签:
2条回答
  • 2020-12-04 03:00

    IIRC, it's a thread id.

    0 讨论(0)
  • 2020-12-04 03:04

    It’s the thread ID; specifically, it’s the mach thread ID. You can get it yourself:

    pthread_mach_thread_np(pthread_self())
    
    0 讨论(0)
提交回复
热议问题