Changeset 261e107 for libcfa/src/concurrency
- Timestamp:
- Dec 9, 2022, 5:11:27 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 70cd431
- Parents:
- e1d66c84
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/thread.cfa
re1d66c84 r261e107 10 10 // Created On : Tue Jan 17 12:27:26 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Nov 30 18:14:07202213 // Update Count : 9 512 // Last Modified On : Fri Dec 9 15:13:04 2022 13 // Update Count : 98 14 14 // 15 15 … … 230 230 void set_seed( size_t seed ) { 231 231 PRNG_STATE_T & state = active_thread()->random_state; 232 PRNG_SET_SEED( state, seed ); 232 233 __global_random_seed = seed; 233 PRNG_SET_SEED( state, seed );234 (void)PRNG_NAME( state ); // prime PRNG235 234 __global_random_prime = seed; 236 235 __global_random_mask = true;
Note: See TracChangeset
for help on using the changeset viewer.