[ORC][RPC] Reword 'async' to 'non-blocking' to better reflect call primitive
authorLang Hames <lhames@gmail.com>
Tue, 30 Aug 2016 01:57:06 +0000 (01:57 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 30 Aug 2016 01:57:06 +0000 (01:57 +0000)
commit8427a09d589627e3d57695fac939e951e9606358
treeb6447d2738922becba68d26178df2e18e71e1010
parentea982ed35afec650a1f430391d06706b35c889d8
[ORC][RPC] Reword 'async' to 'non-blocking' to better reflect call primitive
behaviors, and add a callB (blacking call) primitive.

callB is a blocking call primitive for threaded code where the RPC responses are
being processed on a separate thread. (For single threaded code callST should
continue to be used instead).

No unit test yet: Last time I commited a threaded unit test it deadlocked on
one of the s390x builders. I'll try to re-enable that test first, and add a new
test if I can sort out the deadlock issue.

llvm-svn: 280051
llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp