CAN adopted, Linux work

This commit is contained in:
2022-11-07 18:07:26 +03:00
parent 6da1ec5acf
commit fffaf0726d
4 changed files with 29 additions and 14 deletions

View File

@@ -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: