[mono] retry mono_threads_pthread_kill if result == EAGAIN on Linux (#19291)
commit9504df9ad28eae128b99b0be5891abadbe8e4567
authormonojenkins <jo.shields+jenkins@xamarin.com>
Tue, 24 Mar 2020 03:14:00 +0000 (23 23:14 -0400)
committerGitHub <noreply@github.com>
Tue, 24 Mar 2020 03:14:00 +0000 (23 23:14 -0400)
treebbf262a8f8d58e9a0eac849c7081953b40aaaffb
parent0102498d01e28be4f9d7afc29484a38ea16104bc
[mono] retry mono_threads_pthread_kill if result == EAGAIN on Linux (#19291)

Try to address https://github.com/dotnet/runtime/issues/32377
(signal queue overflow) by sleeping and retrying a few times.

This is kind of a hack, but it would be good to see if it will address the issue

Co-authored-by: lambdageek <lambdageek@users.noreply.github.com>
mono/utils/mono-threads-posix.c