summaryrefslogtreecommitdiff
path: root/tools/release/sims.pl
diff options
context:
space:
mode:
authorThomas Jarosch <tomj@simonv.com>2015-01-02 01:06:06 +0100
committerThomas Jarosch <tomj@simonv.com>2015-01-02 01:11:54 +0100
commit726537508737351d028c6730d30d9ec38fa34e4e (patch)
tree164a21a8aaee0ac2f868196b5d6c7433126a04e3 /tools/release/sims.pl
parent9076b433d18b5db1a1987fe99ca7c70808f22b0e (diff)
downloadrockbox-726537508737351d028c6730d30d9ec38fa34e4e.tar.gz
rockbox-726537508737351d028c6730d30d9ec38fa34e4e.zip
Shortcuts: Add move callback for buflib allocations
If we don't provide a callback to buflib_alloc(), the buffer is always movable (to reduce fragmentation). We were passing around buffers to multiple functions that call yield() and might trigger buflib compaction. -> add locking while we are working on the buffers. Also added source code comments that explain why we added the locking in that particular section. Change-Id: Ie32867b0b735ddb2905fd4bd51342f61035f836f
Diffstat (limited to 'tools/release/sims.pl')
0 files changed, 0 insertions, 0 deletions