acl/lib_fiber/cpp/include/fiber/fiber_event.hpp

23 lines
266 B
C++
Raw Normal View History

#pragma once
struct ACL_FIBER_EVENT;
namespace acl {
class thread_mutex;
class fiber_event
{
public:
fiber_event(void);
~fiber_event(void);
bool wait(void);
bool notify(void);
private:
ACL_FIBER_EVENT* event_;
};
} // namespace acl