summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-09-01 16:11:38 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2026-03-24 21:14:55 -0700
commit7e1e5722e859e6624c9509a55d1f302b44d1853b (patch)
tree59059aba40db291810c85fd569f338c4e656951f /tools/lib/python
parent8e4ae01d84cd0879636c333e0707c86074b00405 (diff)
Input: mk712 - use guard notation when acquiring spinlock
Using guard notation makes the code more compact and error handling more robust by ensuring that locks are released in all code paths when control leaves critical section. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions