develooper Front page | perl.perl5.porters | Postings from August 2017

Re: Calls in the perl core distribution that are unsafe in multithreaded applications

Thread Previous | Thread Next
From:
Josh Juran
Date:
August 11, 2017 12:44
Subject:
Re: Calls in the perl core distribution that are unsafe in multithreaded applications
Message ID:
748E9E04-8183-4A95-B7BF-F2D96F1416EE@gmail.com
On Aug 9, 2017, at 2:08 PM, Karl Williamson <public@khwilliamson.com> wrote:

> sleep() is unsafe, having a conflict with SIGCHILD.  I wonder if this is the cause of some of our timing test failures.  I don't know what to do about this.

Replace it with a call to nanosleep()?

Josh

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About