Get rid of nativeThread

No functional change.
This commit is contained in:
Marco Costalba
2015-03-21 11:50:14 +01:00
parent 26dabb1e6b
commit be77406a55
4 changed files with 8 additions and 9 deletions

View File

@@ -89,14 +89,13 @@ struct SplitPoint {
/// ThreadBase struct is the base of the hierarchy from where we derive all the
/// specialized thread classes.
struct ThreadBase {
struct ThreadBase : public std::thread {
virtual ~ThreadBase() = default;
virtual void idle_loop() = 0;
void notify_one();
void wait_for(volatile const bool& b);
std::thread nativeThread;
Mutex mutex;
Spinlock spinlock;
ConditionVariable sleepCondition;