-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rwlock #22
Rwlock #22
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great. I thought this enhancement would be a mess, but it looks great and simple.
src/rwlock.h
Outdated
@@ -0,0 +1,196 @@ | |||
/** | |||
* @file rwlock.h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the name of the file should be RWLock.h. I am ok if you don't want to change it, but that has been the convention for all other files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I trust you copy this file from some other project and it has been tested enough :). It will take me long time to review if I cannot assume that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change the name to match the other ones. and yes, Philip went over this again. It is from PMGD with asserts changed to Exceptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go!
This should now be ready to go though I will appreciate more testing with some heavily parallel code.