fcntl记录锁在多线程中有效吗?
我使用 fcntl 函数测试多进程记录锁,我当前的请求需要在线程之间使用记录锁。 我测试了它,但它没有像想象的那样工作,你对多线程记录锁定有什么建议吗?
I test multiprocess record lock with fcntl function, my current request needs to use record lock between threads.
I tested it, but it doesnot work as thought, do you have any suggestion on multithreads record locking?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论