swift
d09d4b96 - Concurrency: add Windows support to `SWIFT_TASK_PRINTF_DEBUG`

Commit
4 years ago
Concurrency: add Windows support to `SWIFT_TASK_PRINTF_DEBUG` `pthread_self` is not portable to all platforms. Introduce a `_swift_get_current_thread_id` to abstract over accessing the current thread ID. On Windows, the thread ID and thread handle are two separate entities, unlike POSIX threads which treats them the same.
Author
Committer
Parents
Loading