Introduction - If you have any usage issues, please Google them yourself
Linux Network Programming. The main problem to achieve a shared resource. Through the lock () function to achieve lock, unlock () Unlock realize in order to avoid deadlock caused by the issue of critical resources.
Packet : 77433618lock.zip filelist
lock.c