pthread_cancel / sleep change in behaviour

Erich Dollansky erichsfreebsdlist at
Thu Sep 3 10:34:02 UTC 2015


On Thu, 3 Sep 2015 11:19:47 +0300
Konstantin Belousov <kostikbel at> wrote:

> On Thu, Sep 03, 2015 at 08:00:47AM +0800, Erich Dollansky wrote:
> > 
> > Is this change of behaviour a feature or a bug?
> Provide a minimal example demonstrating the issue.

while preparing the example I found the source of the problem. We have
to block all signals for some reason. The handling for

signal (SIGTHR, SIG_IGN);

seems to have changed. The moment I remove above's line from the code,
the program works. There is no difference when the programs runs on
machines prior mid November 2014.

Thanks for your help. Simplifying the program brought me to the

Do you want the example?

> _______________________________________________
> freebsd-stable at mailing list
> To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe at"

More information about the freebsd-stable mailing list