Changeset 12b5e94a for libcfa/src/concurrency/thread.cfa
- Timestamp:
- Feb 9, 2022, 10:59:05 PM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 454b4e0
- Parents:
- 7a15b7e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/thread.cfa
r7a15b7e r12b5e94a 10 10 // Created On : Tue Jan 17 12:27:26 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jan 13 20:11:55202213 // Update Count : 4 212 // Last Modified On : Sat Jan 15 14:34:58 2022 13 // Update Count : 45 14 14 // 15 15 … … 179 179 GENERATOR( active_thread()->random_state ); 180 180 } // set_seed 181 uint32_t prng( void ) { return GENERATOR( active_thread()->random_state ); } // [0,UINT_MAX] 181 182 uint32_t prng( void ) { // [0,UINT_MAX] 183 uint32_t & state = active_thread()->random_state; 184 return GENERATOR( state ); 185 } // prng 182 186 183 187 // Local Variables: //
Note: See TracChangeset
for help on using the changeset viewer.