aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunctionPass.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2025-02-06 11:38:14 -0600
committerGitHub <noreply@github.com>2025-02-06 11:38:14 -0600
commit5812d0bf8e920ec9a2f14b60237a07f74a9e7d6b (patch)
tree96df06af965c545f155e040ec24aa4bbbc5d33d8 /llvm/lib/CodeGen/MachineFunctionPass.cpp
parent11c3f52bbbb5efa724fd1a4d518566d7180e3c31 (diff)
downloadllvm-5812d0bf8e920ec9a2f14b60237a07f74a9e7d6b.zip
llvm-5812d0bf8e920ec9a2f14b60237a07f74a9e7d6b.tar.gz
llvm-5812d0bf8e920ec9a2f14b60237a07f74a9e7d6b.tar.bz2
[Offload] Make only a single thread handle the RPC server thread (#126067)
Summary: This patch just changes the interface to make starting the thread multiple times permissable since it will only be done the first time. Note that this does not refcount it or anything, so it's onto the user to make sure that they don't shut down the thread before everyone is done using it. That is the case today because the shutDown portion is run by a single thread in the destructor phase. Another question is if we should make this thread truly global state, because currently it will be private to each plugin instance, so if you have an AMD and NVIDIA image there will be two, similarly if you have those inside of a shared library.
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions