1 Struct N_PARALLEL_WORKER
gullradriel edited this page 2026-10-29 20:54:40 +01:00

N_PARALLEL_WORKER

One worker of a N_PARALLEL_TEAM, as handed to its thread.

Public Attributes

Name
pthread_t thr
its thread
struct N_PARALLEL_TEAM * team
the team it belongs to
int started
1 once the thread was started, so free joins only started threads
size_t index
its participant index, 1 .

Public Attributes Documentation

variable thr

pthread_t thr;

its thread

variable team

struct N_PARALLEL_TEAM * team;

the team it belongs to

variable started

int started;

1 once the thread was started, so free joins only started threads

variable index

size_t index;

its participant index, 1 .

. size - 1 (the caller of a loop is 0)