diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2024-09-24 23:29:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-24 23:29:18 +0000 |
| commit | 832f66b218d21407a779a567dc4d984b4b861f92 (patch) | |
| tree | 94b67deabec13c27f953678a544e944f15a651be /contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp | |
| parent | ccc420acd5452ca6fffe3797ea7da5a5f1a64d2b (diff) | |
FreeBSD: Sync taskq_cancel_id() returns with Linux
Couple places in the code depend on 0 returned only if the task was
actually cancelled. Doing otherwise could lead to extra references
being dropped. The race could be small, but I believe CI hit it
from time to time.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Sponsored by: iXsystems, Inc.
Closes #16565
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
