StudyGlib/app/src/main/cpp/study/type.c
/* Glib 2.32 revised the thread API. We need some compat functions.
 */
Glib 2.32 revised the thread API. We need some compat functions.
Glib 2 . 32 revised the thread API . We need some compat functions .
GMutex *
vips_g_mutex_new( void )
{
    GMutex *mutex;
#ifdef HAVE_MUTEX_INIT
    mutex = g_new( GMutex, 1 );
	g_mutex_init( mutex );
#else
    mutex = g_mutex_new();
#endif
    return( mutex );
}
GMutex * vips_g_mutex_new ( void ) { GMutex * mutex ; #ifdef HAVE_MUTEX_INIT mutex = g_new ( GMutex , 1 ) ; g_mutex_init ( mutex ) ; #else mutex = g_mutex_new ( ) ; #endif return ( mutex ) ; }
Glib 2.32 revised the thread API.
Glib 2 . 32 revised the thread API .