[Ardour-Dev] Hello, some tech talk, etc.

Paul Davis paul at linuxaudiosystems.com
Wed Jul 4 20:37:58 PDT 2012


On Wed, Jul 4, 2012 at 11:31 PM, Razvan Cojocaru <razvanco at gmx.net> wrote:

> >> 1) recursive mutexes are not acceptable. google around for decades-old
> >> criticisms and the story of how they came to be part of pthreads.
> >
> > +1 !!
>
> OK, so recursive mutexes are off-limits, but gotos are OK. :D
>

goto's as a mean of avoiding multiple exit points from a function without
creating excessively complex nested conditionals are definitely OK. gotos
as a means of restarting a loop under odd conditions is not ideal since it
can normally be done better without them, but sometimes  it just feels
right.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ardour.org/pipermail/ardour-dev-ardour.org/attachments/20120704/0745b54d/attachment-0002.htm>


More information about the Ardour-Dev mailing list