Ruby: rb_native_thread Struct Reference

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

Data Fields
rb_native_thread Struct Reference

## Data Fields
void * | thread_id
int | id
rb_nativethread_id_t | thread_id
struct rb_thread_struct * | running_thread
struct { |
rb_nativethread_cond_t intr |
rb_nativethread_cond_t readyq |
} | cond |
HANDLE | thread_id
HANDLE | interrupt_event

## Detailed Description

Definition at line 11 of file thread_none.h.

## Field Documentation

## ◆ id

int rb_native_thread::id

Definition at line 29 of file thread_pthread.h.

## ◆ interrupt_event

HANDLE rb_native_thread::interrupt_event

Definition at line 31 of file thread_win32.h.

## ◆ intr

rb_nativethread_cond_t rb_native_thread::intr

Definition at line 50 of file thread_pthread.h.

## ◆ readyq

rb_nativethread_cond_t rb_native_thread::readyq

Definition at line 51 of file thread_pthread.h.

## ◆ running_thread

struct rb_thread_struct* rb_native_thread::running_thread

Definition at line 37 of file thread_pthread.h.

## ◆ thread_id [1/3]

void* rb_native_thread::thread_id

Definition at line 12 of file thread_none.h.

## ◆ thread_id [2/3]

rb_nativethread_id_t rb_native_thread::thread_id

Definition at line 31 of file thread_pthread.h.

## ◆ thread_id [3/3]

HANDLE rb_native_thread::thread_id

Definition at line 30 of file thread_win32.h.

The documentation for this struct was generated from the following files:

- thread_none.h
- thread_pthread.h
- thread_win32.h