mirror of
https://github.com/golang/go
synced 2024-11-24 10:00:12 -07:00
c4770b991b
NPTL uses SIGRTMIN (signal 32) to effect thread cancellation. Go's runtime replaces NPTL's signal handler with its own, and ends up aborting if a C library that ends up calling pthread_cancel is used. This patch prevents runtime from replacing NPTL's handler. Fixes #6997. R=golang-codereviews, iant, dvyukov CC=golang-codereviews https://golang.org/cl/47540043
11 lines
290 B
Go
11 lines
290 B
Go
// Copyright 2012 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package cgotest
|
|
|
|
import "testing"
|
|
|
|
func TestSetgid(t *testing.T) { testSetgid(t) }
|
|
func Test6997(t *testing.T) { test6997(t) }
|