????3.??д??
????1) ????
????spinlock????????????????????????????????????檔???????????????????????????????????????????????????????д????????3???????????????????д??????????????????????????????????д???и?????????????????????????????檔
????2) ??????
????pthread_rwlock_rdlock(pthread_rwlock_t*);  ??????
????pthread_rwlock_tryrdlock(pthread_rwlock_t*); ????????????
????pthread_rwlock_wrlock(pthread_rwlock_t*); д????
????pthread_rwlock_trywrlock(pthread_rwlock_t*); ??????д????
????pthread_rwlock_unlock(pthread_rwlock_t*);  ?????
????4. ????????
????1) ????
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
????2) ??????
????int pthread_cond_signal(pthread_cond_t *cond);  //????????????????
????int pthread_cond_broadcast(pthread_cond_t *cond); //?????????????????
????int pthread_cond_wait(pthread_cond_t *cond?? pthread_mutex_t *mutex); //?????????????
????3) ???
????????pthread_cond_wait??????????????????????????????????????????????????????????????????????????????????????????????????????pthread_cond_wait?????????????????α???????????????pthread_cond_wait?????????????????????????