[glib: 1/2] build: deprecate force_posix_threads build option




commit 17a5958f79da8002de774f447cbed47036508e44
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Tue Feb 8 13:15:33 2022 +0000

    build: deprecate force_posix_threads build option

 meson.build | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/meson.build b/meson.build
index 3949d241c..a12be259c 100644
--- a/meson.build
+++ b/meson.build
@@ -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 = []


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]