summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-10 09:45:37 +0100
committerPixel <pixel@nobis-crew.org>2011-11-10 09:45:37 +0100
commiteb773a11ab557e01569b95254d7e21a53706640d (patch)
tree0796dc5844e6afccb24d6117070e3590a272a93c /src
parent8b7d47a50a72729374c11466eac6da752a8f8425 (diff)
Fixing that heisenbug. Huh, yeah, it's usually better to use a real TLS instead of a dummy one...
Diffstat (limited to 'src')
-rw-r--r--src/Local.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Local.cc b/src/Local.cc
index 8418fb1..805ecdb 100644
--- a/src/Local.cc
+++ b/src/Local.cc
@@ -47,6 +47,7 @@ void PThreadsTLSManager::doStart() {
r = pthread_key_create(&m_key, NULL);
Assert(r == 0);
+ Balau::g_tlsManager = this;
}
void * PThreadsTLSManager::getTLS() {