aboutsummaryrefslogtreecommitdiff
path: root/src/serverlist.h
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-11-04 03:07:32 +0100
committerest31 <MTest31@outlook.com>2015-11-04 03:44:09 +0100
commit8f03995604164c891cacb41c83ff4d6e73a8535f (patch)
tree0e03e91c9ef2214122e73aab5411f529d1d0f699 /src/serverlist.h
parentf9b09368f063cdace93a042d5bdd45987c084d94 (diff)
downloadminetest-8f03995604164c891cacb41c83ff4d6e73a8535f.tar.gz
minetest-8f03995604164c891cacb41c83ff4d6e73a8535f.tar.bz2
minetest-8f03995604164c891cacb41c83ff4d6e73a8535f.zip
Time: use locks again
The Atomic implementation was only partially correct, and was very complex. Use locks for sake of simplicity, following KISS principle. Only remaining atomic operation use is time of day speed, because that really is only read + written. Also fixes a bug with m_time_conversion_skew only being decremented, never incremented (Regresion from previous commit). atomic.h changes: * Add GenericAtomic<T> class for non-integral types like floats. * Remove some last remainders from atomic.h of the volatile use.
Diffstat (limited to 'src/serverlist.h')
0 files changed, 0 insertions, 0 deletions