commit | d1fa28860634af4f0efd70d533a756b51a45f83e | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Tue Sep 04 21:31:47 2018 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Tue Sep 04 21:31:47 2018 -0400 |
tree | b89bbd7ff3cd84a2021adcf1916ada90c2efc27e | |
parent | 4e4a162d9af283cf71f7310c497672e0c2b8ca3b [diff] |
in pthread_mutex_timedlock, avoid repeatedly reading mutex type field compiler cannot cache immutable fields of the mutex object across external calls it can't see, much less across atomics.