Mercurial > mplayer.hg
view osdep/mmap_anon.h @ 28345:3a08f32c8fa1
Do not use select n lirc code, instead set the fd non-blocking.
select can not work because lirc_nextcode buffers data internally,
causing events to be delayed until the next keypress in some cases.
Patch by Dennis Vshivkov [jaimor (at) orcon net nz]
author | reimar |
---|---|
date | Tue, 27 Jan 2009 19:06:50 +0000 |
parents | 4129c8cfa742 |
children | 5cfef41a1771 |
line wrap: on
line source
#ifndef MPLAYER_MMAP_ANON_H #define MPLAYER_MMAP_ANON_H #include <sys/types.h> void *mmap_anon(void *, size_t, int, int, off_t); #endif /* MPLAYER_MMAP_ANON_H */