tlds
Transactional Operations for Linked Data Structures
|
#include <stdlib.h>
#include <stm/config.h>
Go to the source code of this file.
Functions | |
int | rand_r_32 (unsigned int *seed) |
int | rand_r_32 (volatile unsigned int *seed) |
|
inline |
Changes:
The file/function name has been changed from rand_r to rand_r_32.
Added attributes for transactional use.
Cloned the function to handle the case where the seed is volatile
|
inline |