HomeSort by relevance Sort by last modified time
    Searched refs:alarm_fd_ (Results 1 - 2 of 2) sorted by null

  /external/libchrome/components/timers/
alarm_timer_chromeos.cc 24 : alarm_fd_(timerfd_create(CLOCK_REALTIME_ALARM, 0)), weak_factory_(this) {}
59 // Cancel any previous callbacks and stop watching |alarm_fd_|.
75 // Set |alarm_fd_| to be signaled when the delay expires. If the delay is
76 // zero, |alarm_fd_| will never be signaled. This overrides the previous
83 if (timerfd_settime(alarm_fd_, 0, &alarm_time, NULL) < 0)
96 // that the task was posted and watch |alarm_fd_|.
100 alarm_fd_,
110 // Read from |alarm_fd_| to ack the event.
112 if (!base::ReadFromFD(alarm_fd_, val, sizeof(uint64_t)))
140 return alarm_fd_ != -1
    [all...]
alarm_timer_chromeos.h 47 // Called when |alarm_fd_| is readable without blocking. Reads data from
48 // |alarm_fd_| and calls OnTimerFired().
61 const int alarm_fd_; member in class:timers::SimpleAlarmTimer
63 // Watches |alarm_fd_|.

Completed in 217 milliseconds