Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-10-15 | common/loop.c: add _POSIX_C_SOURCE for clock_gettime and CLOCK_MONOTONIC | Cole Mickens | |
2018-10-15 | Event loop: Fix memmove and remove extraneous declaration | Ryan Dwyer | |
2018-10-15 | Event loop: Free fds and fix race condition | Ryan Dwyer | |
2018-10-15 | Remove timerfd from loop implementation | Ryan Dwyer | |
timerfd doesn't work on the BSDs, so this replaces it with a timespec for the expiry and uses a poll timeout to check the timers when needed. | |||
2018-10-15 | swaylock: Remove indicator after 3 seconds | Ryan Dwyer | |
2018-10-15 | Move swaybar's event loop to common directory and refactor | Ryan Dwyer | |
* The loop functions are now prefixed with `loop_`. * It is now easy to add timers to the loop. * Timers are implemented using pollfd and timerfd, rather than manually checking them when any other event happens to arrive. |