Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ private void RunWorker()

try
{
#if TARGET_OSX || NATIVEAOT
#if TARGET_APPLE || NATIVEAOT
// On other platforms, when the underlying native thread is created,
// the thread name is set to the name of the managed thread by another thread.
// However, on OS X and NativeAOT (across all OSes), only the thread itself can set its name.
// However, on Apple platforms and NativeAOT (across all OSes), only the thread itself can set its name.
// Therefore, by this point the native thread is still unnamed as it has not started yet.
Comment on lines 77 to 80
Comment on lines +76 to 80
Thread thread = Thread.CurrentThread;
if (!string.IsNullOrEmpty(thread.Name))
Expand Down
Loading