[all-commits] [llvm/llvm-project] baf7a3: [Offload] Properly guard modifications to the RPC ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Feb 11 12:57:53 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: baf7a3c1e561ff7e3f7da2261ce1012c4f2ba1c0
      https://github.com/llvm/llvm-project/commit/baf7a3c1e561ff7e3f7da2261ce1012c4f2ba1c0
  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.



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