summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2017-10-30 16:00:13 +0000
committerPavel Labath <labath@google.com>2017-10-30 16:00:13 +0000
commit370331083496f9b8017eab44d1c67c9dd39fdfdd (patch)
tree00c26b0a6d8d9531056291abb536d9c93df4235a /llvm/test
parent05da5b0205aeada52a6838353d214db3723c79c7 (diff)
downloadbcm5719-llvm-370331083496f9b8017eab44d1c67c9dd39fdfdd.tar.gz
bcm5719-llvm-370331083496f9b8017eab44d1c67c9dd39fdfdd.zip
MainLoop: work around an android libc bug
Versions of android before kitkat implemented pselect non-atomically, which caused flakyness, as we were relying on it atomically setting the signal mask to implement waiting for signals. This patch implements a direct call to the the pselect kernel syscall, which does not suffer from this problem. The code itself is not very pretty, but fortunately the uglyness is contained in the android version of the MainLoop::RunImpl::Poll function. llvm-svn: 316915
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud