libclod
C library for interacting with NBTs, region files, LOD data and other things.
Loading...
Searching...
No Matches
clod_process_opts Struct Reference

Public Attributes

enum clod_process_type type
 Type of process to create.
size_t stack_size
clod_process_main * main
 Process entry point.
int arg_count
 Number of arguments passed to main.
char ** arg_vector
size_t * arg_sizes
const char * name

Detailed Description

Definition at line 75 of file thread.h.

Member Data Documentation

◆ type

enum clod_process_type clod_process_opts::type

Type of process to create.

Definition at line 77 of file thread.h.

◆ stack_size

size_t clod_process_opts::stack_size

Size of stack that the process shall have available to it. The actual stack size will likely be larger to accommodate arguments and other metadata.

Definition at line 81 of file thread.h.

◆ main

clod_process_main* clod_process_opts::main

Process entry point.

Definition at line 84 of file thread.h.

◆ arg_count

int clod_process_opts::arg_count

Number of arguments passed to main.

Definition at line 87 of file thread.h.

◆ arg_vector

char** clod_process_opts::arg_vector

Arguments passed to main. They are copied and aligned to 16.

Definition at line 91 of file thread.h.

◆ arg_sizes

size_t* clod_process_opts::arg_sizes

Size of each argument in argv. If non-null, argv is interpreted as an array of generic data (i.e. not C strings).

Definition at line 95 of file thread.h.

◆ name

const char* clod_process_opts::name

Name of the process. Not always supported.

Definition at line 99 of file thread.h.


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