Process 1 | Process 2 |------------------------------|---------------------------------| | | | | write "batch 1" to a file F | | | starts "batch 1" | | | | | T | * Notices generic popup | I | * Reads "batch 1" from file F | M | * writes to a log file etc | E | * Ignores popup until F changes | | | * Aborts system shutdown | | | | | batch 1 finishes | | | write "batch 2" to F | | | start "batch 2" | | | | * (no popups detected) | | | * detects and aborts sys shtdn | | batch 2 finishes | | | | | | ...etc | | V