Skip to content

Conversation

@marsupial
Copy link
Contributor

thread_local is part of the standard, so somewhat necessary to be compliant.
Windows uses thread local storage for its implementation of C++ static semantics.

Currently cling will not complain about thread_local, but due to the way it is implemented on OS X and Linux will likely crash from any extensive usage. By using emulated TLS the thread local data will be dynamically generated so that using them will not overwrite the owning process's thread local data stored in a section of the binary.

@Axel-Naumann
Copy link
Member

Thanks! Moved to root-project/root#745.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants