breakpad/src
Michael Forney 3f6f16b059 Use sched_yield instead of pthread_yield
pthread_yield is not a standard POSIX function, and is not available
in musl libc. The man page says to "Use the standardized sched_yield(2)
instead"[0].

On glibc, pthread_yield is exactly equivalent to sched_yield[1].

On bionic, pthread_yield is also not available, so on Android, the
tests define a wrapper that just calls sched_yield. This wrapper
is no longer necessary if we just use sched_yield in the first
place.

[0] http://man7.org/linux/man-pages/man3/pthread_yield.3.html
[1] https://sourceware.org/git/?p=glibc.git;a=blob;f=nptl/pthread_yield.c

Bug: google-breakpad:631
Change-Id: Ie4c6be8c17cdc2f5396a7fe972fa51a97573b049
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2097340
Reviewed-by: Mike Frysinger <vapier@chromium.org>
2020-03-10 22:49:56 +00:00
..
build Fix MSVC build on 64-bit 2017-09-25 07:10:11 +00:00
client Update Xcode project files to fix build errors. 2020-01-29 18:53:05 +00:00
common Use sched_yield instead of pthread_yield 2020-03-10 22:49:56 +00:00
google_breakpad Extract the exception record from the minidump 2020-01-03 20:47:38 +00:00
processor android: truncate lower of two overlapping modules 2020-02-21 04:06:35 +00:00
third_party List missing 64-bit arches in the bundled curl 2017-11-13 19:50:29 +00:00
tools Add "type" option to sym_upload sym-upload-v2 mode. 2020-02-27 22:04:31 +00:00
breakpad_googletest_includes.h test: allow use of system gmock/gtest libs 2016-01-25 19:27:56 -05:00
config.h.in Only use O_CLOEXEC on platforms that support it 2017-05-10 21:32:37 +00:00