Introduction - If you have any usage issues, please Google them yourself
Mutual exclusion between threads: concurrent execution threads share certain types of critical resources, access to critical resources should be taken mutually exclusive mechanisms. Synchronization between threads: the threads of concurrent execution of mutual checks and balances usually found, the thread must follow certain rules to implement synchronization mechanisms to coordinate mutual checks and balances.