shiv-printshiv.min.js"></script>
  <![endif]-->
</head>
<body>
<div style="text-align:center"><span><a href="fifos.html">Prev</a> | </span><a href="index.html">Contents</a><span> | <a href="mq.html">Next</a></span></div><hr>
<h1 data-number="6" id="flocking"><span class="header-section-number">6</span> File Locking</h1>
<p>File locking provides a very simple yet incredibly useful mechanism for coordinating file accesses. Before I begin to lay out the details, let me fill you in on some file locking secrets: