#304: Wait for a lock in duppy
------------------------+---------------------------------------------------
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
------------------------+---------------------------------------------------
Add the ability to wait for the ability to lock a mutex in duppy. This can
be done by using try_lock in the same way we use select.
This would be useful at least in playlist.ml where a task first takes a
mutex: it would be nice that this doesn't block other tasks. A deadlock
easily happens if this blocks the scheduler, who then cannot run the task
who unlocks. I think it's safe in the case of the playlist, because the
lock is always released in the same atomic task where it is taken. It
would certainly be useful in other places as well.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/304>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac