intel / intel/confidential-computing.sgx.sdk
Questions about TLS data
- Dominant language
- C++
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Why sgxsdk only support `__thread`, however do not support `thread_local`?
Why TLS data will be reused on switchless mode? Is there any policy to disable this feature?

Contributor guide
Research direction
Start by reading the issue's questions about `__thread`, `thread_local`, TLS reuse, and switchless mode, then inspect the SGX SDK documentation and relevant source. Determine why the two TLS forms differ, whether switchless mode intentionally reuses TLS data, and whether a disable policy exists; done means these behaviors and any required change are clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100