Class ThreadFunctions

java.lang.Object
org.javagi.base.ProxyInstance
org.gnome.glib.ThreadFunctions
All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class ThreadFunctions extends ProxyInstance
This function table is no longer used by g_thread_init() to initialize the thread system.
  • Constructor Details

    • ThreadFunctions

      public ThreadFunctions(MemorySegment address)
      Create a ThreadFunctions proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
    • ThreadFunctions

      public ThreadFunctions(Arena arena)
      Allocate a new ThreadFunctions.
      Parameters:
      arena - to control the memory allocation scope
    • ThreadFunctions

      public ThreadFunctions()
      Allocate a new ThreadFunctions. The memory is allocated with Arena.ofAuto().
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout
    • overrideMutexNew

      public void overrideMutexNew(ThreadFunctions.MutexNewCallback mutexNew, Arena _arena)
      Write a value in the field mutex_new.
      Parameters:
      mutexNew - The new value for the field mutex_new
      _arena - to control the memory allocation scope
    • overrideMutexLock

      public void overrideMutexLock(ThreadFunctions.MutexLockCallback mutexLock, Arena _arena)
      Write a value in the field mutex_lock.
      Parameters:
      mutexLock - The new value for the field mutex_lock
      _arena - to control the memory allocation scope
    • overrideMutexTrylock

      public void overrideMutexTrylock(ThreadFunctions.MutexTrylockCallback mutexTrylock, Arena _arena)
      Write a value in the field mutex_trylock.
      Parameters:
      mutexTrylock - The new value for the field mutex_trylock
      _arena - to control the memory allocation scope
    • overrideMutexUnlock

      public void overrideMutexUnlock(ThreadFunctions.MutexUnlockCallback mutexUnlock, Arena _arena)
      Write a value in the field mutex_unlock.
      Parameters:
      mutexUnlock - The new value for the field mutex_unlock
      _arena - to control the memory allocation scope
    • overrideMutexFree

      public void overrideMutexFree(ThreadFunctions.MutexFreeCallback mutexFree, Arena _arena)
      Write a value in the field mutex_free.
      Parameters:
      mutexFree - The new value for the field mutex_free
      _arena - to control the memory allocation scope
    • overrideCondNew

      public void overrideCondNew(ThreadFunctions.CondNewCallback condNew, Arena _arena)
      Write a value in the field cond_new.
      Parameters:
      condNew - The new value for the field cond_new
      _arena - to control the memory allocation scope
    • overrideCondSignal

      public void overrideCondSignal(ThreadFunctions.CondSignalCallback condSignal, Arena _arena)
      Write a value in the field cond_signal.
      Parameters:
      condSignal - The new value for the field cond_signal
      _arena - to control the memory allocation scope
    • overrideCondBroadcast

      public void overrideCondBroadcast(ThreadFunctions.CondBroadcastCallback condBroadcast, Arena _arena)
      Write a value in the field cond_broadcast.
      Parameters:
      condBroadcast - The new value for the field cond_broadcast
      _arena - to control the memory allocation scope
    • overrideCondWait

      public void overrideCondWait(ThreadFunctions.CondWaitCallback condWait, Arena _arena)
      Write a value in the field cond_wait.
      Parameters:
      condWait - The new value for the field cond_wait
      _arena - to control the memory allocation scope
    • overrideCondTimedWait

      public void overrideCondTimedWait(ThreadFunctions.CondTimedWaitCallback condTimedWait, Arena _arena)
      Write a value in the field cond_timed_wait.
      Parameters:
      condTimedWait - The new value for the field cond_timed_wait
      _arena - to control the memory allocation scope
    • overrideCondFree

      public void overrideCondFree(ThreadFunctions.CondFreeCallback condFree, Arena _arena)
      Write a value in the field cond_free.
      Parameters:
      condFree - The new value for the field cond_free
      _arena - to control the memory allocation scope
    • overridePrivateNew

      public void overridePrivateNew(ThreadFunctions.PrivateNewCallback privateNew, Arena _arena)
      Write a value in the field private_new.
      Parameters:
      privateNew - The new value for the field private_new
      _arena - to control the memory allocation scope
    • overridePrivateGet

      public void overridePrivateGet(ThreadFunctions.PrivateGetCallback privateGet, Arena _arena)
      Write a value in the field private_get.
      Parameters:
      privateGet - The new value for the field private_get
      _arena - to control the memory allocation scope
    • overridePrivateSet

      public void overridePrivateSet(ThreadFunctions.PrivateSetCallback privateSet, Arena _arena)
      Write a value in the field private_set.
      Parameters:
      privateSet - The new value for the field private_set
      _arena - to control the memory allocation scope
    • overrideThreadCreate

      public void overrideThreadCreate(ThreadFunctions.ThreadCreateCallback threadCreate, Arena _arena)
      Write a value in the field thread_create.
      Parameters:
      threadCreate - The new value for the field thread_create
      _arena - to control the memory allocation scope
    • overrideThreadYield

      public void overrideThreadYield(ThreadFunctions.ThreadYieldCallback threadYield, Arena _arena)
      Write a value in the field thread_yield.
      Parameters:
      threadYield - The new value for the field thread_yield
      _arena - to control the memory allocation scope
    • overrideThreadJoin

      public void overrideThreadJoin(ThreadFunctions.ThreadJoinCallback threadJoin, Arena _arena)
      Write a value in the field thread_join.
      Parameters:
      threadJoin - The new value for the field thread_join
      _arena - to control the memory allocation scope
    • overrideThreadExit

      public void overrideThreadExit(ThreadFunctions.ThreadExitCallback threadExit, Arena _arena)
      Write a value in the field thread_exit.
      Parameters:
      threadExit - The new value for the field thread_exit
      _arena - to control the memory allocation scope
    • overrideThreadSetPriority

      public void overrideThreadSetPriority(ThreadFunctions.ThreadSetPriorityCallback threadSetPriority, Arena _arena)
      Write a value in the field thread_set_priority.
      Parameters:
      threadSetPriority - The new value for the field thread_set_priority
      _arena - to control the memory allocation scope
    • overrideThreadSelf

      public void overrideThreadSelf(ThreadFunctions.ThreadSelfCallback threadSelf, Arena _arena)
      Write a value in the field thread_self.
      Parameters:
      threadSelf - The new value for the field thread_self
      _arena - to control the memory allocation scope
    • overrideThreadEqual

      public void overrideThreadEqual(ThreadFunctions.ThreadEqualCallback threadEqual, Arena _arena)
      Write a value in the field thread_equal.
      Parameters:
      threadEqual - The new value for the field thread_equal
      _arena - to control the memory allocation scope