Pawel Jakub Dawidek d303b48e82 - 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>
2008-08-11 08:41:08 +00:00
..
2008-08-11 04:54:43 +00:00
2008-08-04 14:42:09 +00:00
2008-08-10 12:15:36 +00:00
2008-08-03 14:11:06 +00:00
2008-08-11 04:46:14 +00:00
Nit
2008-08-09 11:28:57 +00:00
2008-08-10 12:15:36 +00:00