Package gtkc.gthreadtypes


Classes

struct  GThreadFunctions
 This function table is used by g_thread_init() to initialize the thread system. More...
struct  GThread
 Main Gtk struct. More...
struct  GMutex
 The GMutex struct is an opaque data structure to represent a mutex (mutual exclusion). More...
struct  GStaticMutex
 A GStaticMutex works like a GMutex, but it has one significant advantage. More...
struct  GStaticRecMutex
 A GStaticRecMutex works like a GStaticMutex, but it can be locked multiple times by one thread. More...
struct  GStaticRWLock
 The GStaticRWLock struct represents a read-write lock. More...
struct  GCond
 The GCond struct is an opaque data structure that represents a condition. More...
struct  GPrivate
 The GPrivate struct is an opaque data structure to represent a thread private data key. More...
struct  GStaticPrivate
 A GStaticPrivate works almost like a GPrivate, but it has one significant advantage. More...
struct  GOnce
 A GOnce struct controls a one-time initialization function. More...

Enumerations

enum  GThreadError { unavailable }
 Possible errors of thread related functions. More...
enum  GThreadPriority {
  LOW,
  NORMAL,
  HIGH,
  URGENT
}
 Specifies the priority of a thread. More...
enum  GOnceStatus {
  NOTCALLED,
  PROGRESS,
  READY
}
 The possible statuses of a one-time initialization function controlled by a GOnce struct. More...

Functions

typedef extern (C) void *function(void *) GThreadFunc

Variables

alias GThreadError ThreadError
alias GThreadPriority ThreadPriority
alias GOnceStatus OnceStatus


Enumeration Type Documentation

enum gtkc::gthreadtypes::GThreadError

Possible errors of thread related functions.

G_THREAD_ERROR_AGAIN a thread couldn't be created due to resource shortage. Try again later.

Enumerator:
unavailable 

enum gtkc::gthreadtypes::GThreadPriority

Specifies the priority of a thread.

Note It is not guaranteed that threads with different priorities really behave accordingly. On some systems (e.g. Linux) there are no thread priorities. On other systems (e.g. Solaris) there doesn't seem to be different scheduling for different priorities. All in all try to avoid being dependent on priorities. G_THREAD_PRIORITY_LOW a priority lower than normal G_THREAD_PRIORITY_NORMAL the default priority G_THREAD_PRIORITY_HIGH a priority higher than normal G_THREAD_PRIORITY_URGENT the highest priority

Enumerator:
LOW 
NORMAL 
HIGH 
URGENT 

enum gtkc::gthreadtypes::GOnceStatus

The possible statuses of a one-time initialization function controlled by a GOnce struct.

G_ONCE_STATUS_NOTCALLED the function has not been called yet. G_ONCE_STATUS_PROGRESS the function call is currently in progress. G_ONCE_STATUS_READY the function has been called. Since 2.4

Enumerator:
NOTCALLED 
PROGRESS 
READY 


Function Documentation

typedef gtkc.gthreadtypes.extern (  ) 


Variable Documentation

alias GThreadError gtkc::gthreadtypes.ThreadError

alias GThreadPriority gtkc::gthreadtypes.ThreadPriority

alias GOnceStatus gtkc::gthreadtypes.OnceStatus


SourceForge.net Logo DSource.org Logo digitalmars.com Logo