research: add process rwlock with func as pthread_rwlock_init