Rename tsd->offset_state to tsd->prng_state.

This commit is contained in:
Qi Wang
2019-11-04 16:48:12 -08:00
committed by Qi Wang
parent 19a51abf33
commit bc774a3519
3 changed files with 5 additions and 5 deletions

View File

@@ -230,7 +230,7 @@ tsd_data_init(tsd_t *tsd) {
* cost of test repeatability. For debug builds, instead use a
* deterministic seed.
*/
*tsd_offset_statep_get(tsd) = config_debug ? 0 :
*tsd_prng_statep_get(tsd) = config_debug ? 0 :
(uint64_t)(uintptr_t)tsd;
tsd_thread_event_init(tsd);