Descriptionruntime: co-exist with NPTL's pthread_cancel.
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 issue 6997.
Patch Set 1 #Patch Set 2 : diff -r 9fd412c6b156 https://code.google.com/p/go #Patch Set 3 : diff -r 00964af13f7d https://code.google.com/p/go #Patch Set 4 : diff -r 00cce3a34d7e https://code.google.com/p/go #Patch Set 5 : diff -r 00cce3a34d7e https://code.google.com/p/go #Patch Set 6 : diff -r 00cce3a34d7e https://code.google.com/p/go #
Total comments: 4
Patch Set 7 : diff -r 00cce3a34d7e https://code.google.com/p/go #
Total comments: 1
MessagesTotal messages: 19
|