-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
EventPipearea-NativeAOT-coreclrin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Milestone
Description
Currently, we use GetPalThreadIdForLogging() to get the thread_id, which doesn't look the proper way to get the thread_id.
GetPalThreadIdForLogging() Implementation Details for completeness: EEThreadId classes seems to be doing the right thing to set its first field (pthread_self and GetCurrentThreadId), but doesn't expose a getter (reason for not using for 'normal' use?) GetPalThreadIdForLogging is using this field directly to get the value. See also details of the current_thread_get_id implementation concerns.
Reactions are currently unavailable
Metadata
Metadata
Labels
EventPipearea-NativeAOT-coreclrin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Type
Projects
Status
No status