Description: 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.
File list (Check if you may need any files):