summaryrefslogtreecommitdiff
path: root/lib/stdlib/assert.c
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2015-02-19 16:23:51 +0000
committerSoby Mathew <soby.mathew@arm.com>2015-03-27 10:20:32 +0000
commit1c9573a157f0d6d76ded5e651bb3f0b9f3a3c9ec (patch)
tree3d7c8c3a34a958a94abaffcf570eb4da12adbb7d /lib/stdlib/assert.c
parent3b982be3b374cdc4947e23dd122f748dc7680d09 (diff)
Optimize the bakery lock structure for coherent memory
This patch optimizes the data structure used with the bakery lock implementation for coherent memory to save memory and minimize memory accesses. These optimizations were already part of the bakery lock implementation for normal memory and this patch now implements it for the coherent memory implementation as well. Also included in the patch is a cleanup to use the do-while loop while waiting for other contenders to finish choosing their tickets. Change-Id: Iedb305473133dc8f12126726d8329b67888b70f1
Diffstat (limited to 'lib/stdlib/assert.c')
0 files changed, 0 insertions, 0 deletions