Changes between Initial Version and Version 1 of Ticket #59772, comment 16


Ignore:
Timestamp:
Feb 29, 2020, 8:17:16 PM (5 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59772, comment 16

    initial v1  
    1 but not on Tiger -- grrr.
     1but not on Tiger or Leopard -- grrr -- where these are actually needed.
     2
     3I have surveyed the web, and prior to SnowLeopard, and even now in many cases, this is used for a thread_id:
     4{{{
     5mach_port_name_t port = pthread_mach_thread_np(thread);
     6}}}
     7I think for the purposes of a reasonable approximation, that is what we should use on Tiger and Leopard until (and if) such time as we figure out that there is actually kernel support in Tiger and Leopard for the full {{{pthread_threadid_np}}} that is used on SnowLeopard and later.