[pulseaudio-discuss] [PATCH 1/2] Properly initialise m->n_waiting_for_accept to prevent deadlock

Colin Guthrie gmane at colin.guthr.ie
Tue Jan 5 01:51:27 PST 2010


Would it be generally cleaner to just allocate the "m" struct with
pa_xnew0() rather than pa_xnew()? That way neither n_waiting nor
n_waiting_for_accept need to be explicitly set.

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mandriva Linux Contributor [http://www.mandriva.com/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list