rcinput: use mutex, suggested by Seife

This commit is contained in:
Jacek Jendrzej
2019-10-14 15:45:01 +02:00
parent 980dee5622
commit 2a161a1246
2 changed files with 10 additions and 3 deletions

View File

@@ -158,6 +158,7 @@ class CRCInput
int fd_max;
__u16 rc_last_key;
OpenThreads::Mutex mutex;
OpenThreads::Mutex timer_mutex;
void open(bool recheck = false);
bool checkpath(in_dev id);