]> Git Repo - qemu.git/blobdiff - util/osdep.c
s390: doc: detailed specifications for AP virtualization
[qemu.git] / util / osdep.c
index ea51d500b668463e56578cd67f0e491f1d142bee..1c8d1e2ee005133557958bd4266debba6bbeeb3c 100644 (file)
@@ -504,20 +504,6 @@ int socket_init(void)
     return 0;
 }
 
-#if !GLIB_CHECK_VERSION(2, 31, 0)
-/* Ensure that glib is running in multi-threaded mode
- * Old versions of glib require explicit initialization.  Failure to do
- * this results in the single-threaded code paths being taken inside
- * glib.  For example, the g_slice allocator will not be thread-safe
- * and cause crashes.
- */
-static void __attribute__((constructor)) thread_init(void)
-{
-    if (!g_thread_supported()) {
-       g_thread_init(NULL);
-    }
-}
-#endif
 
 #ifndef CONFIG_IOVEC
 /* helper function for iov_send_recv() */
This page took 0.023301 seconds and 4 git commands to generate.