mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 06:38:28 +00:00
committed by
Norman Feske
parent
d967be473a
commit
a0a91475d1
@ -1085,8 +1085,6 @@ void __wait_event(void);
|
|||||||
#define _wait_event(condition) \
|
#define _wait_event(condition) \
|
||||||
while(!(condition)) { \
|
while(!(condition)) { \
|
||||||
__wait_event(); \
|
__wait_event(); \
|
||||||
if (!(condition)) \
|
|
||||||
msleep(1); \
|
|
||||||
} \
|
} \
|
||||||
|
|
||||||
#define wait_event(wq, condition) \
|
#define wait_event(wq, condition) \
|
||||||
@ -1100,7 +1098,6 @@ void __wait_event(void);
|
|||||||
__wait_event(); \
|
__wait_event(); \
|
||||||
if (condition || _j <= jiffies) \
|
if (condition || _j <= jiffies) \
|
||||||
break; \
|
break; \
|
||||||
msleep(1); \
|
|
||||||
} \
|
} \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user