1 | | but not on Tiger -- grrr. |
| 1 | but not on Tiger or Leopard -- grrr -- where these are actually needed. |
| 2 | |
| 3 | I have surveyed the web, and prior to SnowLeopard, and even now in many cases, this is used for a thread_id: |
| 4 | {{{ |
| 5 | mach_port_name_t port = pthread_mach_thread_np(thread); |
| 6 | }}} |
| 7 | I 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. |