-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
It should map directly to #[thread_local]
on most platforms. Android may need a special slow path since it doesn't have a full implementation of TLS. There are various other bugs blocking an implementation that's as efficient and flexible as C++'s thread_local
.
- implement destructor support for thread-local variables #17572: implement destructor support for thread-local variables -> must do memory allocation and register a dynamic TLS entry with the destructor
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.I-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.