aboutsummaryrefslogtreecommitdiffstats
path: root/executor/test_linux.h
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-04-17 19:45:47 +0200
committerDmitry Vyukov <dvyukov@google.com>2025-04-17 19:46:40 +0000
commit2a20f901dbd7922a27b5625a8a442587c8c3df2c (patch)
tree9e0cdcbf507597afd7e0e40bd017fb3de14e5d92 /executor/test_linux.h
parent2a6ededbf54a9f8ac036ad0ebfc673934f93fde9 (diff)
pkg/manager: prevent deadlock on ReproLoop cancellation
When the context is cancelled, no one may be polling the pingQueue, yet we write to it synchronously. Wrap it in a select{} statement and add a test to ensure that the loop reacts properly to the context cancellation.
Diffstat (limited to 'executor/test_linux.h')
0 files changed, 0 insertions, 0 deletions