ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
quic_worker Struct Reference

For acip quic worker, this is the live record that ties endpoint, lane, failure, context together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record. More...

Data Fields

quic_udp_endpoint_t * endpoint
mutex_t * lane
quic_worker_failure_fn failure
void * context
platform_thread_t thread
atomic_t stopping
atomic_t wake_pending
bool failure_on_lane
asciichat_error_t result

Detailed Description

For acip quic worker, this is the live record that ties endpoint, lane, failure, context together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record.

Definition at line 13 of file worker.c.

Field Documentation

◆ context

void* quic_worker::context

Definition at line 17 of file worker.c.

◆ endpoint

quic_udp_endpoint_t* quic_worker::endpoint

Definition at line 14 of file worker.c.

◆ failure

quic_worker_failure_fn quic_worker::failure

Definition at line 16 of file worker.c.

◆ failure_on_lane

bool quic_worker::failure_on_lane

Definition at line 21 of file worker.c.

◆ lane

mutex_t* quic_worker::lane

Definition at line 15 of file worker.c.

◆ result

asciichat_error_t quic_worker::result

Definition at line 22 of file worker.c.

◆ stopping

atomic_t quic_worker::stopping

Definition at line 19 of file worker.c.

◆ thread

platform_thread_t quic_worker::thread

Definition at line 18 of file worker.c.

◆ wake_pending

atomic_t quic_worker::wake_pending

Definition at line 20 of file worker.c.


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