queue in dbm, RWMutex, some functions and tests, fix WaitGroup wrong usage, GOMAXPROCS

Signed-off-by: eggfly <lihaohua90@gmail.com>
dbm file test

Signed-off-by: eggfly <lihaohua90@gmail.com>