https://github.com/weltling/tls_exercise
Research on crossplatform thread local storage solutions
https://github.com/weltling/tls_exercise
Last synced: 9 months ago
JSON representation
Research on crossplatform thread local storage solutions
- Host: GitHub
- URL: https://github.com/weltling/tls_exercise
- Owner: weltling
- Created: 2014-10-01T08:01:10.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-01T09:22:14.000Z (over 11 years ago)
- Last Synced: 2025-02-07T09:12:35.389Z (11 months ago)
- Language: C
- Size: 145 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tls_research #
Research on crossplatform thread local storage solutions
## Windows ##
- **implicit_dll**
allocates tread storage, manages thread data
- **explicit_dll**
links against implicit_dll, uses it to store and retrieve thread specific data
- **bin.exe**
links against implicit_dll, loads explicit_dll per LoadLibrary
Additionally, explicit_dll uses a DLL wide variable declared with __declspec(thread). That variable is defined in one file and used as extern in another one.
## Linux ##
TODO