summaryrefslogtreecommitdiffstats
path: root/discover/discover-server.h
diff options
context:
space:
mode:
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-01-23 14:53:32 +1100
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2017-01-31 13:18:38 +1100
commitd94bb8c48f42678a5f1cf0041429b82aa1938540 (patch)
tree37e8fad4895c077a282e62a88a05729299724e4b /discover/discover-server.h
parent75e89298319041ac2cc96102c8345dc175e5e0db (diff)
downloadpetitboot-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
OpenPOWER on IntegriCloud