Introduction - If you have any usage issues, please Google them yourself
See the current version of the code map, with simple principle explanation notes, features:
1. Multi-thread can simultaneously map CRUD
2. Make sure to modify the iterator only single-threaded access map in the declaration period to ensure that the iterator does not fail, the query after
3. Using the same thread Lock and save the difference between the number of UnLock to confirm whether the current thread is locked to prevent repeat lock
WIN under test is OK, because time is limited, you need to compile under Linux Debugging own, but the function is written in support of WIN and Linux.