Amanieu / thread_local-rs

Per-object thread-local storage for Rust
Apache License 2.0
328 stars 41 forks source link

Split the thread-id TLS into 2 variables #44

Closed Amanieu closed 1 year ago

Amanieu commented 1 year ago

This allows the fast path to avoid a branch which checks if the TLS destructor for the thread ID has been registered.

terrarier2111 commented 1 year ago

Is there a reason this didn't get merged yet? (sorry to bother you again about this)

Amanieu commented 1 year ago

Published 1.1.5.