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)
commit7c3024bd1b40957155e4ebc24660c7e09f68e0d1
tree34257d7430249eceb0eee3ad0a0660d22fb086a6
parent984c7cffd6fa18ddc5a88d313b27c91d13865cc6
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