#253: Clean thread management for input.http() (and input.harbor())
------------------------+---------------------------------------------------
 Reporter:  mrpingouin  |       Owner:  admin
     Type:  Bugs        |      Status:  new  
 Priority:  1           |   Milestone:       
Component:  Liquidsoap  |     Version:       
 Keywords:              |         Mac:  1    
    Linux:  1           |      Netbsd:  1    
    Other:  1           |     Freebsd:  1    
------------------------+---------------------------------------------------
 Currently, when an input.http goes to #sleep, it asks its feeding thread
 to exit, but does not check that it exited. As a consequence, a #wake_up
 quickly after the #sleep could cause (1) the old thread to not exit and
 hence (2) two feeding threads at the same time.

 (Another slightly related issue is that the feeding thread might have non-
 trivial activity during the shutdown phase: it can be in the middle of a
 connection when shutdown starts, and we have to wait for it to start
 decoding before that it notices that it should exit.)

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/253>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to