Merge branch 'scheduler-warning-atomic-set' into 'main'

gthread-posix: Do not do unguarded and non-atomic assignment of an atomic

See merge request GNOME/glib!2805
This commit is contained in:
Philip Withnall 2022-07-12 12:52:21 +00:00
commit e19df710d2

View File

@ -1265,7 +1265,6 @@ linux_pthread_proxy (void *data)
g_critical ("Failed to set scheduler settings: %s", g_strerror (errsv)); g_critical ("Failed to set scheduler settings: %s", g_strerror (errsv));
else if (res == -1) else if (res == -1)
g_debug ("Failed to set scheduler settings: %s", g_strerror (errsv)); g_debug ("Failed to set scheduler settings: %s", g_strerror (errsv));
printed_scheduler_warning = TRUE;
} }
return thread->proxy (data); return thread->proxy (data);