Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: flock() broken under FreeBSD?

by Anonymous Monk
on Jul 29, 2002 at 13:08 UTC ( #185967=note: print w/ replies, xml ) Need Help??

in reply to flock() broken under FreeBSD?

As Andrew Hunt and David Thomas wrote in The Pragmatic Programmer:
Tip 26: "select" Isn't Broken.

We worked on a project where a senior engineer was convinced that the select system call was broken on Solaris. NO amount of persuasion or logic could change his mind (the fact that every other networking application on the box worked fine was irrelevant). He spent weeks writing work-arounds, which, for some odd reason, didn't seem to fix the problem. When finally forced to sit down and read the documentation on select, he discovered the problem and corrected it in a matter of minutes. We now use the phrase "select is broken" as a gentle reminder whenever one of us starts blaming the system for a fault that is likely to be our own.

Comment on Re: flock() broken under FreeBSD?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://185967]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2015-12-01 16:24 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (19 votes), past polls