[threads] Fix Posix async resume (#3861)
authorLudovic Henry <ludovic@xamarin.com>
Tue, 1 Nov 2016 18:45:47 +0000 (14:45 -0400)
committerGitHub <noreply@github.com>
Tue, 1 Nov 2016 18:45:47 +0000 (14:45 -0400)
commitbfff01173476e3a26d7010c7504dc13d0e15fca9
tree2e6ee8414c6e87fc804035a11dd28d6489b57d5b
parent26e90ec185c80c64e7f5039fa0960d0a1ad968fe
[threads] Fix Posix async resume (#3861)

If we fail to send the signal, we should not add a pending operation, as the signal handler is never going to answer this operation (via mono_threads_notify_initiator_of_resume).
mono/utils/mono-threads-posix.c