Revert "fix thread namespace"

This reverts commit 3ef2eeb8aa.
This commit is contained in:
max_10
2018-09-20 17:42:46 +02:00
committed by Thilo Graf
parent 1aece863c1
commit bc7be9dd74
8 changed files with 23 additions and 23 deletions

View File

@@ -97,7 +97,7 @@ GLFramebuffer::GLFramebuffer(int x, int y): mReInit(true), mShutDown(false), mIn
if (input_fd < 0)
lt_info("%s: could not open /tmp/neutrino.input FIFO: %m\n", __func__);
initKeys();
SimpleThread::startThread();
startThread();
while (!mInitDone)
usleep(1);
}
@@ -105,7 +105,7 @@ GLFramebuffer::GLFramebuffer(int x, int y): mReInit(true), mShutDown(false), mIn
GLFramebuffer::~GLFramebuffer()
{
mShutDown = true;
SimpleThread::joinThread();
joinThread();
if (input_fd >= 0)
close(input_fd);
}