summaryrefslogtreecommitdiffhomepage
path: root/auto/cc/deps
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2018-06-20 19:11:27 +0300
committerMax Romanov <max.romanov@nginx.com>2018-06-20 19:11:27 +0300
commitb1d7844449b813f8dde73da4e11b8b2d8233f704 (patch)
treed3043eb7149b6d853de28c2f08319fec8b9a3c60 /auto/cc/deps
parent6157a599f2d14a933409afdb0f41a8327950ffab (diff)
downloadunit-b1d7844449b813f8dde73da4e11b8b2d8233f704.tar.gz
unit-b1d7844449b813f8dde73da4e11b8b2d8233f704.tar.bz2
Fixed allocation of multiple shared memory chunks.
Previously, one shared memory chunk was allocated under mutex and other chunks (if required) were allocated using atomic operations. So such allocation is not guaranteed and the result buffer can be less than requested. This commit moves multiple chunks allocation under mutex and guarantees the result buffer is large enough.
Diffstat (limited to 'auto/cc/deps')
0 files changed, 0 insertions, 0 deletions