diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-08-31 16:13:04 -0700 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-08-31 16:13:04 -0700 |
commit | d2db92f6b5d275b3150deb7a52a8da142a7cc953 (patch) | |
tree | dc321491b6a9b54d6e8b6477fddf384f2e5ce7ec /src/Threads.cc | |
parent | 7866096c62f265960d48a61ceb1ad8d53e44400a (diff) |
Simplifying TLS code a bit (removing createTLS...) and making the PthreadsTLSManager its own global class.
Diffstat (limited to 'src/Threads.cc')
-rw-r--r-- | src/Threads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Threads.cc b/src/Threads.cc index fe90394..9ecfff5 100644 --- a/src/Threads.cc +++ b/src/Threads.cc @@ -39,7 +39,7 @@ Balau::RWLock::RWLock() { } void * Balau::ThreadHelper::threadProc(void * arg) { - void * tls = g_tlsManager->createTLS(); + void * tls = Local::createTLS(); g_tlsManager->setTLS(tls); Balau::Thread * thread = reinterpret_cast<Balau::Thread *>(arg); void * r = thread->proc(); |