[pulseaudio-tickets] [PulseAudio] #725: hang when waiting for pa_operation with extra lock held

PulseAudio trac-noreply at tango.0pointer.de
Tue Dec 22 12:31:52 PST 2009


#725: hang when waiting for pa_operation with extra lock held
-----------------------+----------------------------------------------------
  Reporter:  pgregory  |       Owner:  lennart                                             
      Type:  defect    |      Status:  new                                                 
 Milestone:            |   Component:  libpulse                                            
Resolution:            |    Keywords:  pa_threaded_mainloop_lock pa_operation hang deadlock
-----------------------+----------------------------------------------------

Comment(by lennart):

 The _wait() will unlock only one iteration. You should not lock the event
 loop more than once if you want to use _wait(). In fact relying on the
 recursiveness of the lock is often not a good idea anyway...

-- 
Ticket URL: <http://pulseaudio.org/ticket/725#comment:3>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list