separate lock from easy_allocator file
Merge branch 'master' of github.com:yuyunliuhen/easy