Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Kumpera <kumpera@users.noreply.github.com>2016-11-14 22:05:24 +0300
committerGitHub <noreply@github.com>2016-11-14 22:05:24 +0300
commitf5fbc321b4efbc6ecce4c225bec4c75e3012d0cd (patch)
tree61b79e17a1bd7bd0db1013a10a37c7554d4e88bd
parent890670ab8022f81780b2d80dd1d4047fd8e1a534 (diff)
parentc606270c9bdd7c7f768c0afc64bf31d31d1e72c9 (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.c2
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;