patch-libgo_runtime_go-go_c 567 B

123456789101112131415
  1. $OpenBSD: patch-libgo_runtime_go-go_c,v 1.1 2011/11/19 22:19:53 pascal Exp $
  2. --- libgo/runtime/go-go.c.orig Fri Nov 18 00:51:14 2011
  3. +++ libgo/runtime/go-go.c Fri Nov 18 00:51:41 2011
  4. @@ -28,8 +28,8 @@ extern void *__splitstack_find (void *, void *, size_t
  5. /* We stop the threads by sending them the signal GO_SIG_STOP and we
  6. start them by sending them the signal GO_SIG_START. */
  7. -#define GO_SIG_START (SIGRTMIN + 1)
  8. -#define GO_SIG_STOP (SIGRTMIN + 2)
  9. +#define GO_SIG_START SIGUSR1
  10. +#define GO_SIG_STOP SIGUSR2
  11. #ifndef SA_RESTART
  12. #define SA_RESTART 0