fixed a bug

if process call fork, GetTid() will return a error id
Add RWSpinLock

RWSPinLock is fster then pthread_rwlock that copy from folly of facebook