mirror of
https://github.com/golang/sys.git
synced 2026-02-08 11:46:04 +03:00
The recently added PthreadSigmask syscall expects a parameter how that specifies which action to perform on the thread's signal set. The value of this parameter differs between arches. Add the SIG_* constants to have a portable source. Updates golang/go#55349 Change-Id: I7cb42d7c2c42e9b3d22123e8de74960121d89313 Reviewed-on: https://go-review.googlesource.com/c/sys/+/435775 Reviewed-by: Benny Siegert <bsiegert@gmail.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>