diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-04 11:46:31 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-03-04 11:46:31 +0100 |
commit | 7f8f9785d7e9e120a6708d2f51e32dfef3e50c19 (patch) | |
tree | 454240229e803e8ca87a75e889fd54d3110ad426 /src/irrlichttypes.h | |
parent | 1b2f64473ed4f222d3b7f02df853730d4382105e (diff) | |
download | minetest-7f8f9785d7e9e120a6708d2f51e32dfef3e50c19.tar.gz minetest-7f8f9785d7e9e120a6708d2f51e32dfef3e50c19.tar.bz2 minetest-7f8f9785d7e9e120a6708d2f51e32dfef3e50c19.zip |
ASyncRunStep doesn't need to lock when do setTimeOfDaySpeed.
* setTimeOfDaySpeed already lock a mutex when modify the value, we don't need to lock all environment.
* add a fine grain lock for getTimeOfDay and setTimeOfDay to solve environment multithread modifications on this value
Diffstat (limited to 'src/irrlichttypes.h')
0 files changed, 0 insertions, 0 deletions