Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/bthread/rwlock.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
// specific language governing permissions and limitations
// under the License.

#ifndef BTHREAD_RWLOCK_H
#define BTHREAD_RWLOCK_H

#include "bthread/types.h"
#include "bthread/bthread.h"
#include "butil/scoped_lock.h"
Expand Down Expand Up @@ -212,3 +215,5 @@ class lock_guard<bthread::RWLock> {
};

} // namespace std

#endif //BTHREAD_RWLOCK_H
Loading