Skip to content

Commit

Permalink
Add reference info I randomly found whilst waiting for build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ned14 committed Feb 17, 2025
1 parent 511befd commit 921f761
Show file tree
Hide file tree
Showing 2 changed files with 17,822 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Current CI test targets:
- Mac OS, AArch64.
- Microsoft Windows, x64.

## Todo

https://maskray.me/blog/2021-02-14-all-about-thread-local-storage#initial-exec-tls-model-executable-preemptible
will tell you everything there is to know about how TLS is implemented

- Add option to have the signal handling TLS marked `__attribute((tls_model("initial-exec")))`.
This makes codegen async signal safe e.g. https://godbolt.org/z/a78sr4Mrc.
NOTE that this would break use of this library from within a runtime
loaded shared object! So document this loudly!

- Benchmark everything so can quote perf in WG14 paper.
Loading

0 comments on commit 921f761

Please sign in to comment.