summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2008-08-11 08:41:08 +0000
committerpjd <pjd@FreeBSD.org>2008-08-11 08:41:08 +0000
commit44812bbc70f8332d6005dae74c9b6f5b014eb7af (patch)
treeeb132537772e28a542f142d08441419b3ce83b80 /share
parent68fc6b033d6c92c42c2aa3f30689887c7419f375 (diff)
downloadFreeBSD-src-44812bbc70f8332d6005dae74c9b6f5b014eb7af.zip
FreeBSD-src-44812bbc70f8332d6005dae74c9b6f5b014eb7af.tar.gz
- Convert sc_sessions_mtx mutex to a rwlock, so in the fast path
(glxsb_process()) we don't block others when looking for our session. - Simplify the loop responsible for freeing sessions on detach. - No need to drop a lock around malloc(M_NOWAIT). - Treat ses_used as boolean. - Avoid gotos where possible. - Various style(9) fixes. Reviewed by: philip, Patrick Lamaiziere <patfbsd@davenulle.org>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud