[linux-dvb] problems and workaround when tuning to a channel with DD enabled

Oliver Endriss o.endriss at gmx.de
Thu Jun 16 06:48:55 CEST 2005


Johannes Stezenbach wrote:
> On Sat, Jun 11, 2005 at 02:01:37PM +0200, Wolfgang Rohdewald wrote:
> > Here comes a new patch
> > - make sure ERESTARTSYS will always be propagated
> > - ReleaseBitmap: starting with Firmware 261e, also release when
> >   BMP_LOADING
> > - removes unused #define BMP_LOADINGS
> > - in many cases changed the return value from -1 to something more
> >   meaningful like ETIMEDOUT, EINVAL
> > - changed syslog message timeout waiting for COMMAND such that it 
> >   indicates what command did not complete
> > - reduce # of arguments for LoadBitmap and BlitBitmap
> > - av7110_osd_cmd: remove the out: label
> 
> Patch is in CVS now. The 261e firmware will be released real soon now.

Looks ok if OSDSetBlock is _never_ used by more than one thread at the
same time. Otherwise, some race conditions might occur.

Anyway, as the OSD interface has state variables like av7110->osdwin
it is not thread-safe 'by design'.

Oliver

-- 
--------------------------------------------------------
VDR Remote Plugin available at
http://www.escape-edv.de/endriss/vdr/
--------------------------------------------------------




More information about the linux-dvb mailing list