cothread cleanup.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 20 Dec 2001 02:41:34 +0000 (02:41 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 20 Dec 2001 02:41:34 +0000 (02:41 +0000)
commita8b13468572d06fe32c9a08e3b583c160a9fea2a
tree763994d388a9d9d7a0b40ada638bf438d5e4c5ff
parent521211630283b782c00ba562a914f56c3c82dbeb
cothread cleanup.

Original commit message from CVS:
cothread cleanup.
- removed some old code.
- ran the thing through indent
- rename cothread_init/free to cothread_context_init/free
- implement cothread_free/destroy to clear the cothread_state slot
- make cothread_init reuse empty slots.
minor cleanups in error reporting (gstpad, gstelement)
code cleanup in gstthread
make unexpected state changes in gstthread less fatal
free the cothread_state in the scheduler.

This one passes all the current cvs testcases including dynamic-pipeline.
gst/cothreads.c
gst/cothreads.h
gst/gstelement.c
gst/gstpad.c
gst/gstqueue.c
gst/gstthread.c
gst/schedulers/gstbasicscheduler.c
plugins/elements/gstqueue.c