Ruby: thread_create_params Struct Reference

Ruby 3.4.4p34 (2025-05-14 revision a38531fd3f617bf734ef7d6c595325f69985ea1d)

Data Fields
thread_create_params Struct Reference

## Data Fields
enum thread_invoke_type | type
VALUE | args
VALUE | proc
rb_ractor_t * | g
VALUE(* | fn )(void *)

## Detailed Description

Definition at line 796 of file thread.c.

## Field Documentation

## ◆ args

VALUE thread_create_params::args

Definition at line 800 of file thread.c.

## ◆ fn

VALUE(* thread_create_params::fn) (void *)

Definition at line 807 of file thread.c.

## ◆ g

rb_ractor_t* thread_create_params::g

Definition at line 804 of file thread.c.

## ◆ proc

VALUE thread_create_params::proc

Definition at line 801 of file thread.c.

## ◆ type

enum thread_invoke_type thread_create_params::type

Definition at line 797 of file thread.c.

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

- thread.c