mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'deprecate-force_posix_threads' into 'main'
build: deprecate force_posix_threads build option Closes #2592 See merge request GNOME/glib!2474
This commit is contained in:
commit
91a12c4927
@ -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…
Reference in New Issue
Block a user