Class __pthread_cond_s

java.lang.Object
com.github.elebras1.flecs.__pthread_cond_s

public class __pthread_cond_s extends Object
struct __pthread_cond_s {
    __atomic_wide_counter __wseq;
    __atomic_wide_counter __g1_start;
    unsigned int __g_refs[2];
    unsigned int __g_size[2];
    unsigned int __g1_orig_size;
    unsigned int __wrefs;
    unsigned int __g_signals[2];
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this struct
    • __wseq$layout

      public static final GroupLayout __wseq$layout()
      Layout for field:
      __atomic_wide_counter __wseq
      
    • __wseq$offset

      public static final long __wseq$offset()
      Offset for field:
      __atomic_wide_counter __wseq
      
    • __wseq

      public static MemorySegment __wseq(MemorySegment struct)
      Getter for field:
      __atomic_wide_counter __wseq
      
    • __wseq

      public static void __wseq(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      __atomic_wide_counter __wseq
      
    • __g1_start$layout

      public static final GroupLayout __g1_start$layout()
      Layout for field:
      __atomic_wide_counter __g1_start
      
    • __g1_start$offset

      public static final long __g1_start$offset()
      Offset for field:
      __atomic_wide_counter __g1_start
      
    • __g1_start

      public static MemorySegment __g1_start(MemorySegment struct)
      Getter for field:
      __atomic_wide_counter __g1_start
      
    • __g1_start

      public static void __g1_start(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      __atomic_wide_counter __g1_start
      
    • __g_refs$layout

      public static final SequenceLayout __g_refs$layout()
      Layout for field:
      unsigned int __g_refs[2]
      
    • __g_refs$offset

      public static final long __g_refs$offset()
      Offset for field:
      unsigned int __g_refs[2]
      
    • __g_refs

      public static MemorySegment __g_refs(MemorySegment struct)
      Getter for field:
      unsigned int __g_refs[2]
      
    • __g_refs

      public static void __g_refs(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      unsigned int __g_refs[2]
      
    • __g_refs$dimensions

      public static long[] __g_refs$dimensions()
      Dimensions for array field:
      unsigned int __g_refs[2]
      
    • __g_refs

      public static int __g_refs(MemorySegment struct, long index0)
      Indexed getter for field:
      unsigned int __g_refs[2]
      
    • __g_refs

      public static void __g_refs(MemorySegment struct, long index0, int fieldValue)
      Indexed setter for field:
      unsigned int __g_refs[2]
      
    • __g_size$layout

      public static final SequenceLayout __g_size$layout()
      Layout for field:
      unsigned int __g_size[2]
      
    • __g_size$offset

      public static final long __g_size$offset()
      Offset for field:
      unsigned int __g_size[2]
      
    • __g_size

      public static MemorySegment __g_size(MemorySegment struct)
      Getter for field:
      unsigned int __g_size[2]
      
    • __g_size

      public static void __g_size(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      unsigned int __g_size[2]
      
    • __g_size$dimensions

      public static long[] __g_size$dimensions()
      Dimensions for array field:
      unsigned int __g_size[2]
      
    • __g_size

      public static int __g_size(MemorySegment struct, long index0)
      Indexed getter for field:
      unsigned int __g_size[2]
      
    • __g_size

      public static void __g_size(MemorySegment struct, long index0, int fieldValue)
      Indexed setter for field:
      unsigned int __g_size[2]
      
    • __g1_orig_size$layout

      public static final ValueLayout.OfInt __g1_orig_size$layout()
      Layout for field:
      unsigned int __g1_orig_size
      
    • __g1_orig_size$offset

      public static final long __g1_orig_size$offset()
      Offset for field:
      unsigned int __g1_orig_size
      
    • __g1_orig_size

      public static int __g1_orig_size(MemorySegment struct)
      Getter for field:
      unsigned int __g1_orig_size
      
    • __g1_orig_size

      public static void __g1_orig_size(MemorySegment struct, int fieldValue)
      Setter for field:
      unsigned int __g1_orig_size
      
    • __wrefs$layout

      public static final ValueLayout.OfInt __wrefs$layout()
      Layout for field:
      unsigned int __wrefs
      
    • __wrefs$offset

      public static final long __wrefs$offset()
      Offset for field:
      unsigned int __wrefs
      
    • __wrefs

      public static int __wrefs(MemorySegment struct)
      Getter for field:
      unsigned int __wrefs
      
    • __wrefs

      public static void __wrefs(MemorySegment struct, int fieldValue)
      Setter for field:
      unsigned int __wrefs
      
    • __g_signals$layout

      public static final SequenceLayout __g_signals$layout()
      Layout for field:
      unsigned int __g_signals[2]
      
    • __g_signals$offset

      public static final long __g_signals$offset()
      Offset for field:
      unsigned int __g_signals[2]
      
    • __g_signals

      public static MemorySegment __g_signals(MemorySegment struct)
      Getter for field:
      unsigned int __g_signals[2]
      
    • __g_signals

      public static void __g_signals(MemorySegment struct, MemorySegment fieldValue)
      Setter for field:
      unsigned int __g_signals[2]
      
    • __g_signals$dimensions

      public static long[] __g_signals$dimensions()
      Dimensions for array field:
      unsigned int __g_signals[2]
      
    • __g_signals

      public static int __g_signals(MemorySegment struct, long index0)
      Indexed getter for field:
      unsigned int __g_signals[2]
      
    • __g_signals

      public static void __g_signals(MemorySegment struct, long index0, int fieldValue)
      Indexed setter for field:
      unsigned int __g_signals[2]
      
    • asSlice

      public static MemorySegment asSlice(MemorySegment array, long index)
      Obtains a slice of arrayParam which selects the array element at index. The returned segment has address arrayParam.address() + index * layout().byteSize()
    • sizeof

      public static long sizeof()
      The size (in bytes) of this struct
    • allocate

      public static MemorySegment allocate(SegmentAllocator allocator)
      Allocate a segment of size layout().byteSize() using allocator
    • allocateArray

      public static MemorySegment allocateArray(long elementCount, SegmentAllocator allocator)
      Allocate an array of size elementCount using allocator. The returned segment has size elementCount * layout().byteSize().
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size layout().byteSize()
    • reinterpret

      public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup)
      Reinterprets addr using target arena and cleanupAction (if any). The returned segment has size elementCount * layout().byteSize()