Expand description
Guest threads and TLS (TPIDR_EL0, FD TLS path, cert verify).
Modules§
- tls
- Guest↔host TLS:
TPIDR_EL0+ per-thread host snapshot. - tls_fd
- TLS-wrapped guest FDs for freestanding libcurl (path B).
- tls_
verify - Host-side TLS certificate verification against a PEM CA bundle.
Structs§
- Guest
Thread Start - Arguments for a newly created guest worker.
Functions§
- alloc_
tid - Allocates a new guest thread id (unique within the process run).
- ensure_
host_ alt_ stack - live_
workers - Number of live worker threads spawned via
bsdthread_create. - reset_
thread_ runtime - Resets thread counters for a new guest run.
- spawn_
guest_ thread - Spawns a host thread that enters guest code at
start.entry. - thread_
selfid - Current host thread’s guest tid (stable for the host thread lifetime).