summaryrefslogtreecommitdiffstats
path: root/lib/libngatm
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-09-23 07:17:41 +0000
committerphk <phk@FreeBSD.org>2004-09-23 07:17:41 +0000
commit3947e54e89a67263df7cb82659d2a60b22e36d66 (patch)
tree7ba70387e941540c2b48f5f069c66f8c5b6d2f61 /lib/libngatm
parenta5b75e6c3853ff22f0202d48d68a4748e5391d42 (diff)
downloadFreeBSD-src-3947e54e89a67263df7cb82659d2a60b22e36d66.zip
FreeBSD-src-3947e54e89a67263df7cb82659d2a60b22e36d66.tar.gz
Do not refcount the cdevsw, but rather maintain a cdev->si_threadcount
of the number of threads which are inside whatever is behind the cdevsw for this particular cdev. Make the device mutex visible through dev_lock() and dev_unlock(). We may want finer granularity later. Replace spechash_mtx use with dev_lock()/dev_unlock().
Diffstat (limited to 'lib/libngatm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud