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.
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.
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 currentthread ID. On Windows, the thread ID and thread handle are two separate
entities, unlike POSIX threads which treats them the same.
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.