diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2014-07-02 05:42:41 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2014-07-02 05:42:41 +0000 |
commit | 468246c3a7da4057334bb44ce9f5109ba57f6d7a (patch) | |
tree | dbfcb9ab3c10e855af18b5bbbae191b484f3f2fc /include | |
parent | 86513ad87fecd6e9691337169d6906a0bbd8d7bb (diff) |
add an explicit rwlock around the global state (the pool list and serial
number) rather than rely on implicit process exclusion, splhigh and splvm.
the only things touching the global state come from process context so we
can get away with an rwlock instead of a mutex. thankfully.
ok matthew@
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions