[all-commits] [llvm/llvm-project] 4b3746: [ORC] Fix SimpleRemoteEPC data races.
lhames via All-commits
all-commits at lists.llvm.org
Sun Sep 26 18:14:10 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b37462aab4e5f5f1ffdb04294e87b990d189751
https://github.com/llvm/llvm-project/commit/4b37462aab4e5f5f1ffdb04294e87b990d189751
Author: Lang Hames <lhames at gmail.com>
Date: 2021-09-26 (Sun, 26 Sep 2021)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.h
M llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
M llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/SimpleRemoteEPCServer.h
M llvm/lib/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.cpp
M llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp
Log Message:
-----------
[ORC] Fix SimpleRemoteEPC data races.
Adds a 'start' method to SimpleRemoteEPCTransport to defer transport startup
until the client has been configured. This avoids races on client members if the
first messages arrives while the client is being configured.
Also fixes races on the file descriptors in FDSimpleRemoteEPCTransport.
More information about the All-commits
mailing list