[vlc-devel] [PATCH 4/5] vlccore: implement timeout-free poll()

Rémi Denis-Courmont remi at remlab.net
Sun Mar 3 14:47:46 CET 2013


Le samedi 2 mars 2013 20:06:33, KO Myung-Hun a écrit :
> Rémi Denis-Courmont wrote:
> > Le samedi 2 mars 2013 19:33:27, KO Myung-Hun a écrit :
> >> Rémi Denis-Courmont wrote:
> >>> Le samedi 2 mars 2013 17:11:09, KO Myung-Hun a écrit :
> >>>> ---
> >>>> 
> >>>>  include/vlc_threads.h |  112
> >>>> 
> >>>> +++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 103
> >>>> insertions(+), 9 deletions(-)
> >>>> 
> >>>> diff --git a/include/vlc_threads.h b/include/vlc_threads.h
> >>>> index 12b56fd..475eaec 100644
> >>>> --- a/include/vlc_threads.h
> >>>> +++ b/include/vlc_threads.h
> >>>> @@ -385,23 +385,117 @@ struct vlc_cleanup_t
> >>>> 
> >>>>  #endif /* !LIBVLC_USE_PTHREAD_CLEANUO */
> >>>>  
> >>>>  #ifndef LIBVLC_USE_PTHREAD_CANCEL
> >>>> 
> >>>> +# include <unistd.h>
> >>>> +# include <sys/socket.h>
> >>> 
> >>> Not that I care personally, but does this not break Windows?
> >> 
> >> I'm not sure.

socketpair() does not exist on Windows. I think your code needs to go to 
src/os2/ only.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list