mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gthread-posix: Do not do unguarded and non-atomic assignment of an atomic
We ended up always skipping showing the scheduler settings errors after the first call, while we were already setting such variable atomically in case it needed to. Related to: #1672
This commit is contained in:
@@ -1265,7 +1265,6 @@ linux_pthread_proxy (void *data)
|
||||
g_critical ("Failed to set scheduler settings: %s", g_strerror (errsv));
|
||||
else if (res == -1)
|
||||
g_debug ("Failed to set scheduler settings: %s", g_strerror (errsv));
|
||||
printed_scheduler_warning = TRUE;
|
||||
}
|
||||
|
||||
return thread->proxy (data);
|
||||
|
Reference in New Issue
Block a user