OSDN Git Service

[Orc] Re-enable the RPC unit test disabled in r286917.
authorLang Hames <lhames@gmail.com>
Wed, 16 Nov 2016 17:31:09 +0000 (17:31 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 16 Nov 2016 17:31:09 +0000 (17:31 +0000)
commit2ca233e645016cfab5badc4d967bf46c68839701
treea825d89fb0d58be111e09464f9624b4da77634dc
parent195a4bc96d32646528785944ad307a5f6f5b99ea
[Orc] Re-enable the RPC unit test disabled in r286917.

This unit test infinite-looped on s390x due to a thread_yield being optimized
out. I've updated the QueueChannel class (where thread_yield was called) to use
a condition variable instead. This should cause the unit test to behave
correctly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287121 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp