File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -75,11 +75,7 @@ CAMLprim value caml_unix_sigprocmask(value vaction, value vset)
75
75
decode_sigset (vset , & set );
76
76
caml_enter_blocking_section ();
77
77
#ifdef CAML_RUNTIME_5
78
- // CR ocaml 5 runtime: the upstream 5.0 unix lib uses sigprocmask here,
79
- // which seems wrong? Previously, there was a global caml_sigmask_hook wrapper
80
- // that got installed as sigprocmask or pthread_sigmask based on whether
81
- // systhreads was enabled. The 5 runtime is now multithreaded, so always
82
- // links pthread, so should always use pthread_sigmask.
78
+ // Differs from upstream: https://github.com/ocaml/ocaml/pull/12743
83
79
retcode = pthread_sigmask (how , & set , & oldset );
84
80
#else
85
81
retcode = caml_sigmask_hook (how , & set , & oldset );
You can’t perform that action at this time.
0 commit comments