gst/tcp/: Added more locks around fdset structures. Fixed/reworked the poll array...
authorWim Taymans <wim.taymans@gmail.com>
Thu, 28 Oct 2004 14:22:14 +0000 (14:22 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 28 Oct 2004 14:22:14 +0000 (14:22 +0000)
commit76340dcd1e3bd82426553f7e5dfb117113a36591
treec98fc09961e96b6014e9afdc1dbb8dcb30d1f3de
parentdf1b7435e4c14223ae5efc3a0a8fc90d19766577
gst/tcp/: Added more locks around fdset structures. Fixed/reworked the poll array resizing code.

Original commit message from CVS:
* gst/tcp/Makefile.am:
* gst/tcp/fdsetstress.c: (mess_some_more), (run_test), (main):
* gst/tcp/gstfdset.c: (nearest_pow), (resize), (ensure_size),
(gst_fdset_new), (gst_fdset_free), (gst_fdset_set_mode),
(gst_fdset_fd_ctl_write), (gst_fdset_fd_ctl_read),
(gst_fdset_fd_has_closed), (gst_fdset_fd_has_error),
(gst_fdset_fd_can_read), (gst_fdset_fd_can_write),
(gst_fdset_wait):
Added more locks around fdset structures. Fixed/reworked
the poll array resizing code.
Added stress test for fdset.
ChangeLog