diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-01-23 14:53:32 +1100 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2017-01-31 13:18:38 +1100 |
commit | d94bb8c48f42678a5f1cf0041429b82aa1938540 (patch) | |
tree | 37e8fad4895c077a282e62a88a05729299724e4b /discover/discover-server.h | |
parent | 75e89298319041ac2cc96102c8345dc175e5e0db (diff) | |
download | petitboot-1.4.1.zip petitboot-1.4.1.tar.gz |
process: Cancel all asynchronous jobs on reinitv1.4.1
If an asynchronous job is running over a reinit, the process can return
and run its callback function after the reinit. This becomes a problem
if the callback function accesses pointers that were only valid before
the reinit (eg. device structs).
If a reinit is requested explicitly stop all active asynchronous jobs
and clear their callback functions before the reinit.
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'discover/discover-server.h')
0 files changed, 0 insertions, 0 deletions