mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 13:18:52 +00:00
Original commit message from CVS: * configure.ac: Add checks for poll, ppoll and pselect. * docs/gst/gstreamer-docs.sgml: * docs/gst/gstreamer-sections.txt: Add docs for GstPoll. * gst/Makefile.am: * gst/gst.h: * gst/gstpoll.c: (find_index), (selectable_fds), (pollable_timeout), (choose_mode), (pollfd_to_fd_set), (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free), (gst_poll_set_mode), (gst_poll_get_mode), (gst_poll_add_fd_unlocked), (gst_poll_add_fd), (gst_poll_remove_fd), (gst_poll_fd_ctl_write), (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read), (gst_poll_fd_has_closed), (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read), (gst_poll_fd_can_write), (gst_poll_wait), (gst_poll_set_controllable), (gst_poll_restart), (gst_poll_set_flushing): * gst/gstpoll.h: Add generic poll abstraction. We ideally don't want to have this in core here but in glib intead... This code will be used in various network elements and ultimately for the nanosecond precision monotonic clock (that's why it's here in core). It'll allow us to implement cancelable socket operations for windows too. * tests/check/Makefile.am: * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST), (delayed_stop), (delayed_restart), (delayed_flush), (delayed_control), (gst_poll_suite): Add GstPoll unit test. |
||
---|---|---|
.. | ||
.gitignore | ||
capslist.h | ||
gst.c | ||
gstabi.c | ||
gstbin.c | ||
gstbuffer.c | ||
gstbus.c | ||
gstcaps.c | ||
gstelement.c | ||
gstevent.c | ||
gstghostpad.c | ||
gstinfo.c | ||
gstiterator.c | ||
gstmessage.c | ||
gstminiobject.c | ||
gstobject.c | ||
gstpad.c | ||
gstparamspecs.c | ||
gstpipeline.c | ||
gstplugin.c | ||
gstpoll.c | ||
gstquery.c | ||
gstregistry.c | ||
gstsegment.c | ||
gststructure.c | ||
gstsystemclock.c | ||
gsttag.c | ||
gsttagsetter.c | ||
gsttask.c | ||
gsturi.c | ||
gstutils.c | ||
gstvalue.c | ||
gstxml.c | ||
struct_hppa.h | ||
struct_i386.h | ||
struct_ppc32.h | ||
struct_ppc64.h | ||
struct_x86_64.h |