Module key

const-creatable TLS keys.

Most OSs without native TLS will provide a library-based way to create TLS storage. For each TLS variable, we create a key, which can then be used to reference an entry in a thread-local table. This then associates each key with a pointer which we can get and set to store our data.

Modules