K 10 svn:author V 3 pjd K 8 svn:date V 27 2008-08-11T08:41:08.169073Z K 7 svn:log V 401 - 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 END