Unit 'glib2' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#gtk2]

TGThreadFunctions

Declaration

Source position: gthread.inc line 38

type TGThreadFunctions = record

  mutex_new: function: PGMutex;

  mutex_lock: procedure(

  mutex: PGMutex

);

  mutex_trylock: function(

  mutex: PGMutex

):gboolean;

  mutex_unlock: procedure(

  mutex: PGMutex

);

  mutex_free: procedure(

  mutex: PGMutex

);

  cond_new: function: PGCond;

  cond_signal: procedure(

  cond: PGCond

);

  cond_broadcast: procedure(

  cond: PGCond

);

  cond_wait: procedure(

  cond: PGCond;

  mutex: PGMutex

);

  cond_timed_wait: function(

  cond: PGCond;

  mutex: PGMutex;

  end_time: PGTimeVal

):gboolean;

  cond_free: procedure(

  cond: PGCond

);

  private_new: function(

  dest: TGDestroyNotify

):PGPrivate;

  private_get: function(

  private_key: PGPrivate

):gpointer;

  private_set: procedure(

  private_key: PGPrivate;

  data: gpointer

);

  thread_create: procedure(

  func: TGThreadFunc;

  data: gpointer;

  stack_size: gulong;

  joinable: gboolean;

  bound: gboolean;

  priority: TGThreadPriority;

  thread: gpointer;

  error: PPGError

);

  thread_yield: procedure;

  thread_join: procedure(

  thread: gpointer

);

  thread_exit: procedure;

  thread_set_priority: procedure(

  thread: gpointer;

  priority: TGThreadPriority

);

  thread_self: procedure(

  thread: gpointer

);

  thread_equal: function(

  thread1: gpointer;

  thread2: gpointer

):gboolean;

end;


Documentation generated on: 2023-03-18