CVS Commit: vlc

Hamish Marson hamish at travellingkiwi.com
Fri Feb 22 10:15:38 CET 2002


Sigmund Augdal wrote:

> >    Woops, sorry. Fixed. But isn't there a way to have lirc_nextcode()
> > timeout after a specified delay ? Blocking like this is a pretty
> > annoying behaviour.
>
> I agree and tried to look into that. lirc_nextcode() has noe timeout
> option. It seems that it uses read() to read from the lirc-socket, and i
> susspect that this is where it sleeps. read() also has noe timeout
> options, but to be honest my knowledge is rapidly runnig out here.

Use select()



--

I don't suffer from Insanity...         | Linux User #237369
        I enjoy every minute of it...   |
                                        |
http://www.travellingkiwi.com/          |




-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list