mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
macOS uses a 64-bit thread ID, so rather than truncate this in GetCurrentThreadId, use pthread_self's result and mix it with the MSBs of the pointer to reduce the probability of a collision.