It may be possible to get this condition from within Perl if a signal handler runs at just the wrong moment. Another point for Chip... :-)
About this quote
- What does it mean?
- A signal handler could trigger a condition at an unlucky moment, highlighting a race condition.
- In plain terms
- Signal timing can cause race conditions.
- What can you take from it?
- Be aware of timing issues with signals.
Where it applies
Putting it to work
Questions to consider
- How can you test for rare timing bugs?
Another view
Not all race conditions are easy to reproduce.
More from Larry Wall
Well, you can implement a Perl peek() with unpack('P',...). Once you have that, there's only security through obscurity. :-)
Permalink to quote #140 As pointed out in a followup, Real Perl Programmers prefer things to be visually distinct.
Permalink to quote #142 To ordinary folks, conversion is not always automatic. It's something that may or may not require explicit assistance. See Billy Graham. :-)
Permalink to quote #139
Related quotes
I'd make people say 'use Fork;' if I thought I could get away with it.
Larry WallLarry Wall quote #197 I can never look now at the Milky Way without wondering from which of those banked clouds of stars the emissaries are coming. If you will pardon so commonplace…
Arthur C. ClarkeArthur C. Clarke quote #1 We'll use a signal I have tried and found far-reaching and easy to yell. Waa-hoo!
Zane GreyZane Grey quote #1