GitHub repository: nalanjia/Unlock_module
Primary language: C++
Created: 2016-10-14T09:06:47Z
Description:  Based on above gcc4.1.2 version, support CAS atomic operation, achieve no lock module implementation  lock-free hashmap, lock-free queue,  lock-free stack, with c++ template    you data can be Key/value pair and key to values, and keys to values. But please note that if you print the result of multiple threads  or read the result of multiple threads,  print function itself is not thread-safety, You need to use c + + lock. Templates support basic types, array types (not support the string), does not support the STL. To define your own types as long as the function overloading the equal sign function, not the new dynamic open space and using a thread safety function, can safe use. You'd better thread-safety type.   Authors: tianyanli