CAN adopted, Linux work
This commit is contained in:
@@ -35,19 +35,17 @@ class PIWaitEvent {
|
||||
public:
|
||||
~PIWaitEvent();
|
||||
|
||||
void create();
|
||||
void destroy();
|
||||
|
||||
enum CheckRole { // UNIX only
|
||||
CheckRead,
|
||||
CheckWrite,
|
||||
CheckExeption
|
||||
};
|
||||
bool wait(int fd = -1, CheckRole role = CheckRead);
|
||||
|
||||
void create();
|
||||
void destroy();
|
||||
bool wait(int fd = -1, CheckRole role = CheckRead);
|
||||
void interrupt();
|
||||
bool isCreate() const;
|
||||
|
||||
void * getEvent() const; // WINDOWS only
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user