summaryrefslogtreecommitdiff
path: root/INSTALL-cross
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-27 19:05:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-27 19:05:57 +0100
commit7ca4c02513d7c6998d9c92dafb3c0fcbe8d6dd6d (patch)
treeae83135f1d3f08dd72ee83494eb036d5217380eb /INSTALL-cross
parentb69b9c28b6628c7d736476d075d56ae137afd343 (diff)
Add atomicity support to fshelp_acquire_lock
This adds support for the __LOCK_ATOMIC flag which requests atomicity of SH->EX upgrades and EX->SH downgrades. * libfshelp/lock-acquire.c (__LOCK_ATOMIC): New macro (fshelp_acquire_lock): When __LOCK_ATOMIC is set, do not release the lock early, change the lock hold atomically instead. On upgrade to LOCK_EX, prevent new shared locks from being acquired to avoid starvation.
Diffstat (limited to 'INSTALL-cross')
0 files changed, 0 insertions, 0 deletions