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/Task.cc | |
parent | 7866096c62f265960d48a61ceb1ad8d53e44400a (diff) |
Simplifying TLS code a bit (removing createTLS...) and making the PthreadsTLSManager its own global class.
Diffstat (limited to 'src/Task.cc')
-rw-r--r-- | src/Task.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Task.cc b/src/Task.cc index 6278fd5..aba29b8 100644 --- a/src/Task.cc +++ b/src/Task.cc @@ -35,7 +35,7 @@ void Balau::Task::setup(TaskMan * taskMan, void * stack) { m_taskMan = taskMan; - m_tls = g_tlsManager->createTLS(); + m_tls = Local::createTLS(); void * oldTLS = g_tlsManager->getTLS(); g_tlsManager->setTLS(m_tls); localTask.set(this); |