Rewrite harbor's execution flow
-------------------------------
Key: LS-445
URL: http://dev.sourcefabric.org/browse/LS-445
Project: Liquidsoap
Issue Type: Task
Components: Liquidsoap
Affects Versions: 1.0
Reporter: Romain Beauxis
Priority: Critical
Current execution flow in harbor is based on exception raising/catching. This
is very problematic because it conflicts with the use of Threads and queues.
Basically, the execution flow in harbor requires that everything stays in the
same thread to properly raise and catch exceptions while duppy, and more
generally a sensible implementation of a server code, is multithread and use
selection.
Additionally, proofreading a code using this type of execution flow is just
impossible..
Furthermore, we want to have a finer-grained treatement of the various tasks
involved in harbor's execution flow. For instance authentication check should
have priority Maybe_blocking because it is using a user-defined function.
I will fix this before 1.0, I just need some time to think about the proper
(and minimal) way of doing it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Oracle to DB2 Conversion Guide: New IBM DB2 features make compatibility easy.
Learn about native support for PL/SQL, new data types, scalar functions,
improved concurrency, built-in packages, OCI, SQL*Plus, data movement tools,
best practices and more - all designed to run applications on both DB2 and
Oracle platforms. http://p.sf.net/sfu/oracle-sfdev2dev
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl