]> git.sesse.net Git - vlc/commit
POSIX: use pthread-based timers
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 2 Aug 2009 11:53:59 +0000 (14:53 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 2 Aug 2009 11:53:59 +0000 (14:53 +0300)
commit675700d177a03dc89a4aab68314aa919ac2908fa
tree2eca8cc674336ae35c395fdb39ebdf03b584f28c
parent4d014d82eff282e9c03eca268ae95b22ef8b9cdb
POSIX: use pthread-based timers

This is inefficient. It could be optimized a lot with
epoll/timerfd on Linux and kqueue/kevent on BSD. Unfortunately, the
POSIX timer API is impossible to use in a thread-safe manner, other
than with signals.
include/vlc_threads.h
src/misc/pthread.c