Changeset 25ef81d
- Timestamp:
- Dec 11, 2022, 9:02:05 PM (2 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- d8bdf13
- Parents:
- 3ff64cb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/thread.cfa
r3ff64cb r25ef81d 10 10 // Created On : Tue Jan 17 12:27:26 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Dec 9 15:13:04 202213 // Update Count : 9812 // Last Modified On : Sun Dec 11 20:56:54 2022 13 // Update Count : 102 14 14 // 15 15 … … 182 182 //----------------------------------------------------------------------------- 183 183 bool migrate( thread$ * thrd, struct cluster & cl ) { 184 185 184 monitor$ * tmon = get_monitor(thrd); 186 185 monitor$ * __monitors[] = { tmon }; 187 186 monitor_guard_t __guard = { __monitors, 1 }; 188 189 190 187 { 191 188 // if nothing needs to be done, return false … … 237 234 238 235 size_t prng( void ) { // [0,UINT_MAX] 239 PRNG_STATE_T( & state ) = active_thread()->random_state; 240 return PRNG_NAME( state ); 236 return PRNG_NAME( active_thread()->random_state ); 241 237 } // prng 242 238
Note: See TracChangeset
for help on using the changeset viewer.