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:15 +0000 (14:22 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 28 Oct 2004 14:22:15 +0000 (14:22 +0000)
commit2bb3268dd58b8de08c8cfedf979d7bbf85d74dfd
tree642a220cbd1816ba43e0dbd31c72591a664354ce
parent1dd50473f7c27e7347e8d85ded53501d2ccaa3c6
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
gst/tcp/Makefile.am
gst/tcp/fdsetstress.c [new file with mode: 0644]
gst/tcp/gstfdset.c