Skip to content

Commit eb39683

Browse files
committed
Fix crash on startup when script debugging is enabled due to shared signals between mono and the GC (case 973794)
1 parent acc623a commit eb39683

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mono/utils/mono-threads-posix-signals.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static int
8484
suspend_signal_get (void)
8585
{
8686
#if defined(HOST_ANDROID)
87-
return SIGPWR;
87+
return SIGUSR1;
8888
#elif defined (SIGRTMIN)
8989
static int suspend_signum = -1;
9090
if (suspend_signum == -1)
@@ -103,7 +103,7 @@ static int
103103
restart_signal_get (void)
104104
{
105105
#if defined(HOST_ANDROID)
106-
return SIGXCPU;
106+
return SIGUSR2;
107107
#elif defined (SIGRTMIN)
108108
static int restart_signum = -1;
109109
if (restart_signum == -1)

0 commit comments

Comments
 (0)