#include #include -- | module Bindings.GLib.CoreApplicationSupport.Threads where #strict_import import Bindings.GLib.Fundamentals import Bindings.GLib.Utilities.DateAndTimeFunctions import Bindings.GLib.DataTypes.Datasets import Bindings.GLib.DataTypes.DoublyLinkedLists import Bindings.GLib.CoreApplicationSupport.ErrorReporting #num G_THREAD_ERROR #integral_t GThreadError #num G_THREAD_ERROR_AGAIN #starttype GThreadFunctions #field mutex_new , FunPtr (IO (Ptr )) #field mutex_lock , FunPtr (Ptr -> IO ()) #field mutex_trylock , FunPtr (Ptr -> IO ) #field mutex_unlock , FunPtr (Ptr -> IO ()) #field mutex_free , FunPtr (Ptr -> IO ()) #field cond_new , FunPtr (IO (Ptr )) #field cond_signal , FunPtr (Ptr -> IO ()) #field cond_broadcast , FunPtr (Ptr -> IO ()) #field cond_wait , FunPtr (Ptr -> Ptr -> IO ()) #field cond_timed_wait , FunPtr (Ptr -> Ptr -> Ptr -> IO ) #field cond_free , FunPtr (Ptr -> IO ()) #field private_new , FunPtr ( -> IO (Ptr )) #field private_get , FunPtr (Ptr -> IO ) #field private_set , FunPtr (Ptr -> -> IO ()) #field thread_create , FunPtr ( -> -> -> -> -> -> -> Ptr (Ptr ) -> IO ()) #field thread_yield , FunPtr (IO ()) #field thread_join , FunPtr ( -> IO ()) #field thread_exit , FunPtr (IO ()) #field thread_set_priority , FunPtr ( -> -> IO ()) #field thread_self , FunPtr ( -> IO ()) #field thread_equal , FunPtr ( -> -> IO ) #stoptype #ccall g_thread_init , Ptr -> IO () #cinline g_thread_supported , IO #ccall g_thread_get_initialized , IO #callback GThreadFunc , -> IO #integral_t GThreadPriority #num G_THREAD_PRIORITY_LOW #num G_THREAD_PRIORITY_NORMAL #num G_THREAD_PRIORITY_HIGH #num G_THREAD_PRIORITY_URGENT #opaque_t GThread #cinline g_thread_create , -> -> -> Ptr (Ptr ) -> IO (Ptr ) #ccall g_thread_create_full , -> -> -> -> -> -> Ptr (Ptr ) -> IO (Ptr ) #ccall g_thread_self , IO (Ptr ) #ccall g_thread_join , Ptr -> IO #ccall g_thread_set_priority , Ptr -> -> IO () #cinline g_thread_yield , IO () #ccall g_thread_exit , -> IO () #ccall g_thread_foreach , -> -> IO () #opaque_t GMutex #cinline g_mutex_new , IO (Ptr ) #cinline g_mutex_lock , Ptr -> IO () #cinline g_mutex_trylock , Ptr -> IO #cinline g_mutex_unlock , Ptr -> IO () #cinline g_mutex_free , Ptr -> IO () #starttype GStaticMutex #stoptype #cinline g_static_mutex_init , Ptr -> IO () #cinline g_static_mutex_lock , Ptr -> IO () #cinline g_static_mutex_trylock , Ptr -> IO #cinline g_static_mutex_unlock , Ptr -> IO () #cinline g_static_mutex_get_mutex , Ptr -> IO (Ptr ) #cinline g_static_mutex_free , Ptr -> IO () #starttype GStaticRecMutex #stoptype #ccall g_static_rec_mutex_init , Ptr -> IO () #ccall g_static_rec_mutex_lock , Ptr -> IO () #ccall g_static_rec_mutex_trylock , Ptr -> IO #ccall g_static_rec_mutex_unlock , Ptr -> IO () #ccall g_static_rec_mutex_lock_full , Ptr -> -> IO () #ccall g_static_rec_mutex_unlock_full , Ptr -> IO #ccall g_static_rec_mutex_free , Ptr -> IO () #starttype GStaticRWLock #stoptype #ccall g_static_rw_lock_init , Ptr -> IO () #ccall g_static_rw_lock_reader_lock , Ptr -> IO () #ccall g_static_rw_lock_reader_trylock , Ptr -> IO #ccall g_static_rw_lock_reader_unlock , Ptr -> IO () #ccall g_static_rw_lock_writer_lock , Ptr -> IO () #ccall g_static_rw_lock_writer_trylock , Ptr -> IO #ccall g_static_rw_lock_writer_unlock , Ptr -> IO () #ccall g_static_rw_lock_free , Ptr -> IO () #opaque_t GCond #cinline g_cond_new , IO (Ptr ) #cinline g_cond_signal , Ptr -> IO () #cinline g_cond_broadcast , Ptr -> IO () #cinline g_cond_wait , Ptr -> Ptr -> IO () #cinline g_cond_timed_wait , Ptr -> Ptr -> Ptr -> IO #cinline g_cond_free , Ptr -> IO () #opaque_t GPrivate #cinline g_private_new , -> IO (Ptr ) #cinline g_private_get , Ptr -> IO #cinline g_private_set , Ptr -> -> IO () #starttype GStaticPrivate #stoptype #ccall g_static_private_init , Ptr -> IO () #ccall g_static_private_get , Ptr -> IO #ccall g_static_private_set , Ptr -> -> -> IO () #ccall g_static_private_free , Ptr -> IO () #starttype GOnce #field status , #field retval , #stoptype #integral_t GOnceStatus #num G_ONCE_STATUS_NOTCALLED #num G_ONCE_STATUS_PROGRESS #num G_ONCE_STATUS_READY #ccall g_once_init_enter , Ptr -> IO #ccall g_once_init_leave , Ptr -> -> IO ()