Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 883e22cc authored by Jack He's avatar Jack He Committed by Gerrit Code Review
Browse files

Merge "Use EFD_SEMAPHORE while creating eventfd for fake timers"

parents 97155f59 a124b164
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ static uint64_t timespec_to_ms(const timespec* t) {
}

int fake_timerfd_create(int clockid, int flags) {
  int fd = eventfd(0, 0);
  int fd = eventfd(0, EFD_SEMAPHORE);
  if (fd == -1) {
    return fd;
  }