[vlc-devel] commit: core vout: Fix snapshots (Derk-Jan?Hartman?)

Laurent Aimar fenrir at via.ecp.fr
Fri Jun 5 20:33:40 CEST 2009


On Fri, Jun 05, 2009, Rémi Denis-Courmont wrote:
> 
> On Fri, 5 Jun 2009 11:17:59 +0200, Laurent Aimar <fenrir at via.ecp.fr> wrote:
> > On Fri, Jun 05, 2009, Rémi Denis-Courmont wrote:
> >> vlc_cond_timedwait() returns 0 when it was signaled and ETIMEDOUT (!= 0)
> > if
> >> it timed out...
> >  And for supurious wake up ? Is it 0 ?
> 
> Spurious wake-ups return 0. Time-outs return ETIMEDOUT. Normal wake-ups
> return 0 provided they occur before the deadline. If a normal wake-up
> occurs after the deadline is reached (due to scheduling latency), the
> result can be either 0 or ETIMEDOUT.
> 
> Overall, EIMEDOUT implies that the deadline has been reached, whereas 0
> implies nothing.
 Thanks, fixed.

-- 
fenrir



More information about the vlc-devel mailing list