mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 09:20:52 +08:00
23 lines
266 B
C++
23 lines
266 B
C++
|
#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
|