[Android] Workaround for invalid return value from clock_nanosleep (#21433)
commit36daf033a620d800f6e65f4544ea55a3ecef7af0
authorSimon Rozsival <simon@rozsival.com>
Thu, 17 Feb 2022 09:56:21 +0000 (17 10:56 +0100)
committerGitHub <noreply@github.com>
Thu, 17 Feb 2022 09:56:21 +0000 (17 10:56 +0100)
tree743efdb53cff978fd4cd44b36b98b7bdb416500a
parent1faa76848158e160207fa65a18fc0ff462799c4b
[Android] Workaround for invalid return value from clock_nanosleep (#21433)

Fixes https://github.com/xamarin/xamarin-android/issues/6600

Backported from https://github.com/dotnet/runtime/pull/64679 and https://github.com/dotnet/runtime/pull/65373
mono/eglib/Makefile.am
mono/eglib/eglib-remap.h
mono/eglib/gclock-nanosleep.c [new file with mode: 0644]
mono/eglib/gdate-unix.c
mono/eglib/glib.h
mono/mini/mini-posix.c
mono/utils/mono-threads.c