More massive changes to the scheduling system. Moved the scheduling code to gstsched...
authorErik Walthinsen <omega@temple-baptist.org>
Tue, 26 Dec 2000 23:51:04 +0000 (23:51 +0000)
committerErik Walthinsen <omega@temple-baptist.org>
Tue, 26 Dec 2000 23:51:04 +0000 (23:51 +0000)
commita46c5a73f0e71b83dcf7c6d030ee786f466fbab0
tree99e57b7957b66e30c99aa4fc1ac45a8964ceaee9
parenta1268abbd619e443c87c7f593b6e5061cff0a0ea
More massive changes to the scheduling system.  Moved the scheduling code to gstscheduler.[ch], so an child bin can r...

Original commit message from CVS:
More massive changes to the scheduling system.  Moved the scheduling code
to gstscheduler.[ch], so an child bin can replace the scheduler.
Introduced the concept of chains, which are subsets of the list of managed
elements for a given manager bin, which get scheduled as separate entities.
gst_bin_iterate_func should be pretty much fixed now, the scheduling code
gets to do all the hard work.

Cothreaded case work in the couple tests I've tried, chained is next.
14 files changed:
gst/Makefile.am
gst/elements/gstidentity.c
gst/elements/gstqueue.c
gst/elements/gstqueue.h
gst/gstbin.c
gst/gstbin.h
gst/gstdebug.h
gst/gstelement.h
gst/gstscheduler.c [new file with mode: 0644]
gst/gstscheduler.h [new file with mode: 0644]
gst/gstthread.c
plugins/elements/gstidentity.c
plugins/elements/gstqueue.c
plugins/elements/gstqueue.h