mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 12:12:10 +01:00
build: deprecate force_posix_threads build option
This commit is contained in:
parent
50d23f9680
commit
17a5958f79
@ -1858,6 +1858,10 @@ glibconfig_conf.set('G_ATOMIC_LOCK_FREE', have_atomic_lock_free)
|
||||
|
||||
# === Threads ===
|
||||
|
||||
if get_option('force_posix_threads')
|
||||
warning('DEPRECATION: Option \'force_posix_threads\' is deprecated and will be removed after GLib 2.72; please file an issue with your use case if you still require it')
|
||||
endif
|
||||
|
||||
# Determination of thread implementation
|
||||
if host_system == 'windows' and not get_option('force_posix_threads')
|
||||
thread_dep = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user