Ruby: thread_create_params Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

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 934 of file thread.c.

## Field Documentation

## ◆ args

VALUE thread_create_params::args

Definition at line 938 of file thread.c.

Referenced by rb_thread_create_ractor().

## ◆ fn

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

Definition at line 945 of file thread.c.

Referenced by rb_thread_create().

## ◆ g

rb_ractor_t* thread_create_params::g

Definition at line 942 of file thread.c.

## ◆ proc

VALUE thread_create_params::proc

Definition at line 939 of file thread.c.

Referenced by rb_thread_create_ractor().

## ◆ type

enum thread_invoke_type thread_create_params::type

Definition at line 935 of file thread.c.

Referenced by rb_thread_create(), and rb_thread_create_ractor().

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

- thread.c