[mono] retry mono_threads_pthread_kill if result == EAGAIN on Linux (#33966)
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Tue, 24 Mar 2020 03:13:58 +0000 (23:13 -0400)
committerGitHub <noreply@github.com>
Tue, 24 Mar 2020 03:13:58 +0000 (23:13 -0400)
commitc67efd8316b1cd44a4234090bbe898fde8409163
tree55c77b1ac0914a0aa2f0875c96dd7cb37e2592da
parenteff37974b0dd3745df91646df97551c187861adf
[mono] retry mono_threads_pthread_kill if result == EAGAIN on Linux (#33966)

* [mono] retry mono_threads_pthread_kill if result == EAGAIN on Linux

Try to address https://github.com/dotnet/runtime/issues/32377
(signal queue overflow) by sleeping and retrying a few times.
src/mono/mono/utils/mono-threads-posix.c