GstPoll: add methods to use gstpoll for timeouts
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Feb 2009 16:49:02 +0000 (17:49 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 3 Feb 2009 16:49:02 +0000 (17:49 +0100)
commit5cfb02af4a939e44a72cfffc8b94d0c5ec56d61e
tree7ae87479cd2678a7b52dc0da3ce80f2d926a4f37
parentd807bca61cf4b551c1ae04846c245b9e5bcdf0aa
GstPoll: add methods to use gstpoll for timeouts

Add a special timer mode in GstPoll that makes it only use the control socket
with a timeout to schedule timeouts. Also add a pair of methods to wakeup the
timeout thread.
API: GstPoll::gst_poll_new_timer()
API: GstPoll::gst_poll_write_control()
API: GstPoll::gst_poll_read_control()
docs/gst/gstreamer-sections.txt
gst/gstpoll.c
gst/gstpoll.h