Class pthread_cond_t

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

public class pthread_cond_t extends Object
union {
    struct __pthread_cond_s __data;
    char __size[48];
    long long __align;
}
  • Method Details

    • layout

      public static final GroupLayout layout()
      The layout of this union
    • __data$layout

      public static final GroupLayout __data$layout()
      Layout for field:
      struct __pthread_cond_s __data
      
    • __data$offset

      public static final long __data$offset()
      Offset for field:
      struct __pthread_cond_s __data
      
    • __data

      public static MemorySegment __data(MemorySegment union)
      Getter for field:
      struct __pthread_cond_s __data
      
    • __data

      public static void __data(MemorySegment union, MemorySegment fieldValue)
      Setter for field:
      struct __pthread_cond_s __data
      
    • __size$layout

      public static final SequenceLayout __size$layout()
      Layout for field:
      char __size[48]
      
    • __size$offset

      public static final long __size$offset()
      Offset for field:
      char __size[48]
      
    • __size

      public static MemorySegment __size(MemorySegment union)
      Getter for field:
      char __size[48]
      
    • __size

      public static void __size(MemorySegment union, MemorySegment fieldValue)
      Setter for field:
      char __size[48]
      
    • __size$dimensions

      public static long[] __size$dimensions()
      Dimensions for array field:
      char __size[48]
      
    • __size

      public static byte __size(MemorySegment union, long index0)
      Indexed getter for field:
      char __size[48]
      
    • __size

      public static void __size(MemorySegment union, long index0, byte fieldValue)
      Indexed setter for field:
      char __size[48]
      
    • __align$layout

      public static final ValueLayout.OfLong __align$layout()
      Layout for field:
      long long __align
      
    • __align$offset

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

      public static long __align(MemorySegment union)
      Getter for field:
      long long __align
      
    • __align

      public static void __align(MemorySegment union, long fieldValue)
      Setter for field:
      long long __align
      
    • 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 union
    • 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()