Honeycomb  0.1
Component-Model Framework
Condition.h
Go to the documentation of this file.
1 // Honeycomb, Copyright (C) 2015 NewGamePlus Inc. Distributed under the Boost Software License v1.0.
2 #pragma once
3 
5 namespace honey { namespace platform
6 {
7 
8 class Condition
9 {
10 public:
11  Condition();
12  virtual ~Condition();
13 
14  void signal();
15  void broadcast();
16  bool wait(UniqueLock<honey::Mutex>& lock, honey::MonoClock::TimePoint time);
17 
18 private:
19  pthread_cond_t _handle;
20 };
21 
22 } }
Super::TimePoint TimePoint
Definition: Clock.h:40
Global Honeycomb namespace.