summaryrefslogtreecommitdiffstats
path: root/usr.sbin/gstat/gstat.8
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-05-20 15:35:36 +0000
committerpjd <pjd@FreeBSD.org>2006-05-20 15:35:36 +0000
commitc1590119a64caa45fdd2f78f22fd55031b1ac64b (patch)
tree1843c949666f6d776df903c4d5e852c70db329d5 /usr.sbin/gstat/gstat.8
parent5c6fb2961cb40a7613265d1860f68c02aff60dae (diff)
downloadFreeBSD-src-c1590119a64caa45fdd2f78f22fd55031b1ac64b.zip
FreeBSD-src-c1590119a64caa45fdd2f78f22fd55031b1ac64b.tar.gz
Prevent disappearing SAD entries by implementing MPsafe refcounting.
"Why didn't he use SECASVAR_LOCK()/SECASVAR_UNLOCK() macros to synchronize access to the secasvar structure's fields?" one may ask. There were two reasons: 1. refcount(9) is faster then mutex(9) synchronization (one atomic operation instead of two). 2. Those macros are not used now at all, so at some point we may decide to remove them entirely. OK'ed by: gnn MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/gstat/gstat.8')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud