# WinSRWLock **Repository Path**: jidcoo/WinSRWLock ## Basic Information - **Project Name**: WinSRWLock - **Description**: ReetrantReadWriteLock in windows os - **Primary Language**: C++ - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-24 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # WinSRWLock #### Description ReetrantReadWriteLock in windows os #### How to use 1. add the lib header file ```cpp #include ``` 2. using ```cpp void use(){ WinSRWLock lock; //init the lock lock.initLock(); //apply the read lock lock.readLock(); //...... //release the read lock lock.readUnlock(); //apply the write lock lock.writeLock(); //....... //release the write lock lock.writeUnLock(); } ```