summaryrefslogtreecommitdiff
path: root/src/Threads.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Threads.cc')
-rw-r--r--src/Threads.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Threads.cc b/src/Threads.cc
index 867013d..7b1b7bc 100644
--- a/src/Threads.cc
+++ b/src/Threads.cc
@@ -43,7 +43,7 @@ void * Balau::ThreadHelper::threadProc(void * arg) {
void * r = NULL;
bool success = false;
try {
- void * tls = g_tlsManager->createTLS();
+ void * tls = Local::createTLS();
g_tlsManager->setTLS(tls);
Balau::Thread * thread = reinterpret_cast<Balau::Thread *>(arg);
r = thread->proc();