-
-
Save gerdr/6e8c183fc1039293133a 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
#define MVM_cas(addr, old, new) AO_fetch_compare_and_swap_full(addr, old, new) | |
#define MVM_casptr(addr, old, new) ((void *)MVM_cas((AO_t *)(addr), (AO_t)(old), (AO_t)(new))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment