#249: Shutdown
------------------------+---------------------------------------------------
Reporter: mrpingouin | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone: 0.9.0
Component: Liquidsoap | Version:
Keywords: | Mac: 1
Linux: 1 | Netbsd: 1
Other: 1 | Freebsd: 1
------------------------+---------------------------------------------------
In my recent commits I made the shutdown procedure tighter (stricter,
faster). Basically the main procedure just waits for all Tutils threads to
complete, and exits (instead of waiting 3 seconds as before, and hoping
that it's clean to exit).
The problem is that duppy is in a Tutils thread. This would force us to
shutdown duppy to terminate its thread. But then, for example, if we shut
it down before sources, some sources get stuck because they want to
complete their duppy tasks before shutting down. Maybe it's enough to
shutdown duppy after sources... not sure. Another possibility it to ask
duppy to shutdown only after tasks are finished (which is a nice strict
policy).
For now I put duppy in a normal thread and don't shut it down. The problem
is that now if duppy raises an error it will go unnoticed.
We must find a clean solution before 0.9.0 and make sure that everything
runs (exits) fine.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/249>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac