Created
November 29, 2016 02:15
-
-
Save sbahra/e339936b7ef1a7bd20386bbf20460206 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Defines an elision implementation according to the following variables: | |
* N - Namespace of elision implementation. | |
* T - Typename of mutex. | |
* L_P - Lock predicate, returns false if resource is available. | |
* L - Function to call if resource is unavailable of transaction aborts. | |
* U_P - Unlock predicate, returns false if elision failed. | |
* U - Function to call if transaction failed. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment