cvs commit: projects/csup mux.c

Maxime Henrion mux at FreeBSD.org
Tue Jan 31 21:53:20 PST 2006


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


More information about the cvs-all mailing list