[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sigaction test failure on FreeBSD 9.1 when pthread is used
From: |
Ed Maste |
Subject: |
Re: sigaction test failure on FreeBSD 9.1 when pthread is used |
Date: |
Fri, 26 Apr 2013 09:19:11 -0400 |
On 25 April 2013 22:39, Daiki Ueno <address@hidden> wrote:
> I can still reproduce this on 9.1-RELEASE. Perhaps you are missing
> -pthread cflag when compiling?
Argh, you are right. What happened here is I built Paul's first test
using -lpthread, but it doesn't demonstrate the problem. Then I
somehow missed it when running the second test case. As expected, it
fails when linked with -lpthread. Looking at FreeBSD's libthr source
I see that the thread wrapper for sigaction indeed forces SA_SIGINFO
unconditionally. I'll follow up.