[all-commits] [llvm/llvm-project] c03f46: [Offload] Properly guard modifications to the RPC ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Feb 11 13:20:12 PST 2025
Branch: refs/heads/release/20.x
Home: https://github.com/llvm/llvm-project
Commit: c03f46f2f0eac60ee407a6c645cfdb62e97fa77b
https://github.com/llvm/llvm-project/commit/c03f46f2f0eac60ee407a6c645cfdb62e97fa77b
Author: Joseph Huber <huberjn at outlook.com>
Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths:
M offload/plugins-nextgen/common/include/RPC.h
M offload/plugins-nextgen/common/src/RPC.cpp
Log Message:
-----------
[Offload] Properly guard modifications to the RPC device array (#126790)
Summary:
If the user deallocates an RPC device this can sometimes fail if the RPC
server is still running. This will happen if the modification happens
while the server is still checking it. This patch adds a mutex to guard
modifications to it.
(cherry picked from commit baf7a3c1e561ff7e3f7da2261ce1012c4f2ba1c0)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list