阅读背景:

在c unix中使用flock(),我在另一个进程中尝试打开文件时遇到哪种错误?

来源:互联网 

I'm using flock() in my code server/client to allow the reading of file only to one process. But if another process try to open that file the computation go in pause I think, instead I would handle an error to give an output that explain to user what's the matter. How can I do it? I'm using flock() in my code server/client to a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: