summaryrefslogtreecommitdiff
path: root/core/io/compression.h
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2017-07-25 02:29:46 +0200
committerPedro J. Estébanez <pedrojrulez@gmail.com>2017-08-01 01:50:56 +0200
commit02607b3103d216dd49ad6fc9ded51773ddb47afd (patch)
treec58f84de2505b5942ce65efbaef49f648b85357c /core/io/compression.h
parent3ad68c282ec423080a3e3958b187aaf2e48297c5 (diff)
Use atomics for memory use tracking
Plus: - An allocation is counted only after checking its success. - Max usage is updated after growing reallocs as well. - Drop unused header. - Changed the 0xFFF.. at get_mem_available() to -1 with a comment telling it's the same, but more universal.
Diffstat (limited to 'core/io/compression.h')
0 files changed, 0 insertions, 0 deletions