Struct
GLibThreadFunctions
Description
struct GThreadFunctions {
GMutex* (* mutex_new) (
void
);
void (* mutex_lock) (
GMutex* mutex
);
gboolean (* mutex_trylock) (
GMutex* mutex
);
void (* mutex_unlock) (
GMutex* mutex
);
void (* mutex_free) (
GMutex* mutex
);
GCond* (* cond_new) (
void
);
void (* cond_signal) (
GCond* cond
);
void (* cond_broadcast) (
GCond* cond
);
void (* cond_wait) (
GCond* cond,
GMutex* mutex
);
gboolean (* cond_timed_wait) (
GCond* cond,
GMutex* mutex,
GTimeVal* end_time
);
void (* cond_free) (
GCond* cond
);
GPrivate* (* private_new) (
GDestroyNotify destructor
);
gpointer (* private_get) (
GPrivate* private_key
);
void (* private_set) (
GPrivate* private_key,
gpointer data
);
void (* thread_create) (
GThreadFunc func,
gpointer data,
gulong stack_size,
gboolean joinable,
gboolean bound,
GThreadPriority priority,
gpointer thread,
GError** error
);
void (* thread_yield) (
void
);
void (* thread_join) (
gpointer thread
);
void (* thread_exit) (
void
);
void (* thread_set_priority) (
gpointer thread,
GThreadPriority priority
);
void (* thread_self) (
gpointer thread
);
gboolean (* thread_equal) (
gpointer thread1,
gpointer thread2
);
}
This function table is no longer used by g_thread_init()
to initialize the thread system.
Structure members
mutex_new
- No description available.
mutex_lock
- No description available.
mutex_trylock
- No description available.
mutex_unlock
- No description available.
mutex_free
- No description available.
cond_new
- No description available.
cond_signal
- No description available.
cond_broadcast
- No description available.
cond_wait
- No description available.
cond_timed_wait
- No description available.
cond_free
- No description available.
private_new
- No description available.
private_get
- No description available.
private_set
- No description available.
thread_create
- No description available.
thread_yield
- No description available.
thread_join
- No description available.
thread_exit
- No description available.
thread_set_priority
- No description available.
thread_self
- No description available.
thread_equal
- No description available.