logos.std.io.net.tls
Module std · package logos-std
Functions
fntls_get
fn tls_get(key: i64) -> i64
Reads TLS slot key. Returns 0 if never set on this thread.
fntls_set
fn tls_set(key: i64, val: i64) -> void
Writes val into TLS slot key.
fntls_slots
fn tls_slots() -> i64
Returns the number of per-thread TLS slots available (0..tls_slots()).