Re: [Ekiga-devel-list] patch for ptlib for V4L2 support in FreeBSD



El día Friday, May 27, 2011 a las 08:05:51PM +0200, Eugen Dedu escribió:

> > Committed, thanks, see
> > http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?view=revision&revision=25913
> > and
> > http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?view=revision&revision=25914.
> >
> >
> >> +Cc: melifaro ipfw ru (maintainer of /usr/ports/devel/ptlib26)
> >
> > Really added the CC.
> 
> I see in your patch that a mutex has been replaced with flush.  Is that 
> correct for all architectures?

Are you sure about the replacement? These lines get added:

+  PWaitAndSignal m(mutex);
+  inputDeviceNames.RemoveAll (); // flush the previous run
+#if defined(P_FREEBSD)

and later on removed
...
   }
-  PWaitAndSignal m(mutex);
-  inputDeviceNames.RemoveAll (); // flush the previous run

i.e. there is no replacement. The patch should just insert the FreeBSD
code below

  PTRACE(1,"Detecting V4L2 devices");
  PWaitAndSignal m(mutex);
  inputDeviceNames.RemoveAll (); // flush the previous run
#if defined(P_FREEBSD)
  ...

I'm wrong? I checked the result too, and it looks fine for me.

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru unixarea de> - w http://www.unixarea.de/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]