Date: Wed, 1 Feb 2006 05:53:19 +0000 (UTC) From: Maxime Henrion <mux@FreeBSD.org> To: projects-committers@FreeBSD.org, cvs-projects@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: projects/csup mux.c Message-ID: <200602010553.k115rJCx024461@repoman.freebsd.org>
index | next in thread | raw e-mail
mux 2006-02-01 05:53:19 UTC
FreeBSD projects repository
Modified files:
csup mux.c
Log:
- Not only did I blame GCC for a so-called bogus warning about an
unitialized variable when we has indeed right, but I managed to leak
channels mutexes in the error code path of both chan_read() and
chan_write()! Really fix the variable initialization by rewriting
the loops more sanely, and fix the aforementioned leaks.
- Rewrite sender_wakeup() more like in CVSup by retaining the status
of the sender thread, thus avoiding unnecessary pthread_cond_signal()
calls.
Revision Changes Path
1.55 +41 -19 projects/csup/mux.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602010553.k115rJCx024461>
