newrpl/rplthread.cpp

31 lines
466 B
C++
Raw Normal View History

2015-08-28 14:34:26 +02:00
/*
* Copyright (c) 2014-2015, Claudio Lapilli and the newRPL Team
* All rights reserved.
* This file is released under the 3-clause BSD license.
* See the file LICENSE.txt that shipped with this distribution.
*/
2015-03-05 20:35:35 +01:00
#include "rplthread.h"
RPLThread::RPLThread(QObject *parent)
: QThread(parent)
{
}
RPLThread::~RPLThread()
{
}
extern "C" void startup();
void RPLThread::run()
{
startup();
}
extern "C" void thread_yield()
{
QThread::msleep(1);
}