---
title: "第五节 文件锁（File lock）"
author: "cobra"
date: "2007-07-26T04:16:49Z"
tags: []
slug: "file-lock"
draft: false
lastmod: "2007-07-26T04:16:49Z"
id: 120216
url: "https://cobra.iteye.com/blog/120216"
---

When we intend to lock file among processes, we can use apr\_file\_lock(). Historically, there are several confusions about file lock APIs on Unix.

[阅读全文](http://www.china-ideal.net/?q=node%2F122)