abla/runtime/emutls
Generated from source.
Import with import "abla/runtime/emutls".
Source: abla/runtime/emutls/entry.ab
emutlsReclaim (fun)
@runtimeImplementation
trusted fun emutlsReclaim(): int
Sweeps the registry now: the tables and variables of the threads that have ended and left them behind are freed. Returns how many threads' were. (On macOS the pthread key frees them as the threads end: nothing is ever found.)
emutlsGetAddress (fun)
@runtimeImplementation
trusted fun emutlsGetAddress(control: int): int
The address of the calling thread's copy of the variable control describes.
emutlsThreadEnd (fun)
@runtimeImplementation
trusted fun emutlsThreadEnd(): void
The thread is ending: its variables and its table are freed, and the cell is empty (a later use makes a new table).
emutlsIndexCount (fun)
@runtimeImplementation
trusted fun emutlsIndexCount(): int
How many indexes have been handed out, process-wide (the counter itself).
Built from Abla v0.2.79 source ba5d6b7d. Examples and generated signatures follow that source revision.