[ovs-dev] [PATCH 1/2] signals: Use sys_siglist[] instead of strsignal() for thread-safety.
Ben Pfaff
blp at nicira.com
Wed Jun 5 20:10:11 UTC 2013
On Wed, Jun 05, 2013 at 04:09:02PM -0400, Ed Maste wrote:
> On 1 May 2013 14:25, Ben Pfaff <blp at nicira.com> wrote:
> > strsignal() isn't thread-safety but sys_siglist[] is. Also, according to
> > the glibc manual, BSD has sys_siglist[] but not strsignal().
>
> In fact FreeBSD has strsignal(), and it's thread safe. I'm not sure
> about NetBSD or other platforms though, and agree this doesn't hurt.
Thanks for checking, it's good to know.
More information about the dev
mailing list