watchexec/lib/src/action
Félix Saparelli 446a8d95a7 Replace event queue with a priority queue (#302)
Solves several issues, generally through delivering signals before filesystem events, preventing situations where an overwhelming amount of events makes it impossible to quit.

Does _not_ solve the problem of a queue full of lower-priority events not accepting an urgent message, but that's a rarer issue that's more complicated to overcome.

Changes the Filterer trait: adds Priority to `check_event()`

Makes some events unfilterable (Urgent priority): SIGINT, SIGTERM, and CTRL_C to the main process. These still need to be handled by `on_action` to do anything, but cannot be stopped before reaching that.
2022-06-11 06:43:11 +00:00
..
outcome.rs Test outcome resolving 2021-12-08 22:07:58 +13:00
outcome_worker.rs Replace event queue with a priority queue (#302) 2022-06-11 06:43:11 +00:00
process_holder.rs Change on_error to let the handler raise a CriticalError 2022-02-07 17:15:27 +13:00
worker.rs Replace event queue with a priority queue (#302) 2022-06-11 06:43:11 +00:00
workingdata.rs Save a pointer by passing around an Arc<[T]> instead of Arc<Vec<T>> 2022-01-29 02:17:23 +13:00