diff options
author | Rodrigo Kumpera <kumpera@users.noreply.github.com> | 2016-11-14 22:05:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 22:05:24 +0300 |
commit | f5fbc321b4efbc6ecce4c225bec4c75e3012d0cd (patch) | |
tree | 61b79e17a1bd7bd0db1013a10a37c7554d4e88bd | |
parent | 890670ab8022f81780b2d80dd1d4047fd8e1a534 (diff) | |
parent | c606270c9bdd7c7f768c0afc64bf31d31d1e72c9 (diff) |
Merge pull request #3916 from ludovic-henry/4.8-fix-suspend-watchosmono-4.8.0.344
[4.8][threads] Fix suspend on watchos
-rw-r--r-- | mono/utils/mono-threads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/utils/mono-threads.c b/mono/utils/mono-threads.c index d0eedf683e9..a33bbf1d019 100644 --- a/mono/utils/mono-threads.c +++ b/mono/utils/mono-threads.c @@ -916,7 +916,7 @@ suspend_sync (MonoNativeThreadId tid, gboolean interrupt_kernel) } break; case AsyncSuspendBlocking: - if (interrupt_kernel) + if (interrupt_kernel && mono_threads_suspend_needs_abort_syscall ()) mono_threads_suspend_abort_syscall (info); break; |