fix thread namespace

This commit is contained in:
smogm
2015-01-12 16:38:28 +01:00
parent c37263f594
commit 3ef2eeb8aa
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();
startThread();
SimpleThread::startThread();
while (!mInitDone)
usleep(1);
}
@@ -105,7 +105,7 @@ GLFramebuffer::GLFramebuffer(int x, int y): mReInit(true), mShutDown(false), mIn
GLFramebuffer::~GLFramebuffer()
{
mShutDown = true;
joinThread();
SimpleThread::joinThread();
if (input_fd >= 0)
close(input_fd);
}