More PNaCL fixes (without GYP/Makefile tweaks)
authorsvenpanne@chromium.org <svenpanne@chromium.org>
Fri, 29 Aug 2014 09:39:28 +0000 (09:39 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org>
Fri, 29 Aug 2014 09:39:28 +0000 (09:39 +0000)
commitdfda8950de977ce32952b187642e7c4a64034868
tree6f72c8940f6a3dff06fee0fe6534d4df9786c674
parent8938126d1bb5b9aaf8b07e5eb4afa4cc5e70150a
More PNaCL fixes (without GYP/Makefile tweaks)

This is basically https://codereview.chromium.org/513923005/ with a
few changes:

   * Makefile.nacl and v8.gyp are untouched.

   * MAP_NORESERVE-handling is more defensive.

   * Added ugly busy-wait emulation of sem_timedwait.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/521473003

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23513 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/base/platform/platform-linux.cc
src/base/platform/platform-posix.cc
src/base/platform/semaphore.cc
src/base/sys-info.cc
src/d8-posix.cc
src/sampler.cc
test/cctest/test-api.cc