mirror of
https://github.com/schoebel/mars
synced 2024-12-26 00:22:31 +00:00
aio: use old timespec for compatibility
This commit is contained in:
parent
0d885eeef8
commit
bb6506476f
@ -672,7 +672,7 @@ static int aio_event_thread(void *data)
|
||||
mm_segment_t oldfs;
|
||||
int count;
|
||||
int i;
|
||||
struct lamport_time timeout = {
|
||||
struct timespec timeout = {
|
||||
.tv_nsec =
|
||||
tinfo->should_terminate ||
|
||||
!brick->power.button ? 0 : 100000,
|
||||
|
Loading…
Reference in New Issue
Block a user