Commit graph

12 commits

Author SHA1 Message Date
Erik Walthinsen a7cd58c92e fixed some interruptability problems with thread and queue
Original commit message from CVS:
fixed some interruptability problems with thread and queue
2001-05-25 00:29:25 +00:00
Erik Walthinsen 879f3b4f29 - fixed configure.in %VAR stuff
Original commit message from CVS:
- fixed configure.in %VAR stuff
- fixed gstreamer.pc.in description string
- fixed up incremental scheduling some more
- updated the GST_DEBUG_FUNCPTR code to no longer need a hash
- minor updates to DEBUG colorization
- new test/mpeg2parse4.c
2001-05-01 21:41:40 +00:00
Erik Walthinsen 284bfca414 Added element-level locking support, implemented for cothreads with a mutex held whenever an element is actually curr...
Original commit message from CVS:
Added element-level locking support, implemented for cothreads with a mutex
held whenever an element is actually currently running.  This should be done
with atomic variables eventually, but the best I can find is to use
<asm/spinlock.h> from the kernel, which brings in too much for my taste.

Also increased cothread stack size to 32KB and max cothread count to 64,
which fits within the default pthread 2MB stack.  It would probably be good
to do a pthread_attr_getstacksize() to verify that it's 2MB, and if
linuxthreads had a pthread_attr_setstacksize(), we could remove these
limits.
2001-04-25 22:32:17 +00:00
Erik Walthinsen f75bb0f38b snapshot for matth to work with while I fly over to Europe....
Original commit message from CVS:
snapshot for matth to work with while I fly over to Europe....
2001-03-30 00:06:43 +00:00
Erik Walthinsen 999f30ff02 Significant progress. Now able to do most operations live, without any failure. tests/incsched.c currently faults a...
Original commit message from CVS:
Significant progress.  Now able to do most operations live, without any
failure.  tests/incsched.c currently faults at the last iteration, not
yet sure why.
2001-02-20 08:19:05 +00:00
Erik Walthinsen 0871fad29b More incsched progress. Should be able to get itereration going again tomorrow.
Original commit message from CVS:
More incsched progress.  Should be able to get itereration going again
tomorrow.
2001-02-18 10:00:04 +00:00
Erik Walthinsen df32997396 Yes!, incsched is getting closer.
Original commit message from CVS:
Yes!, incsched is getting closer.
2001-02-17 07:11:12 +00:00
Erik Walthinsen 3ff90ac8fb More incsched updates. Now need to get the headers redone...
Original commit message from CVS:
More incsched updates.  Now need to get the headers redone...
2001-02-14 23:23:03 +00:00
Erik Walthinsen 08427ffb2a Minor changes to incsched stuff, need to make more major modifications to manager concept now, so I'm checkpointing.
Original commit message from CVS:
Minor changes to incsched stuff, need to make more major modifications to manager concept now, so I'm checkpointing.
2001-02-13 02:40:24 +00:00
Erik Walthinsen 8edfe3f5de First round of incremental scheduling. Manager setting and managed_elements lists are now handled at bin_add/remove ...
Original commit message from CVS:
First round of incremental scheduling.  Manager setting and managed_elements
lists are now handled at bin_add/remove time.  Scheduling chains can be
created incrementally as well, though there are still some pieces missing.
2001-02-12 23:08:07 +00:00
Erik Walthinsen ca1c48e95c Updated copyright in all the libgst files.
Original commit message from CVS:
Updated copyright in all the libgst files.
Created gst_private.h, set up all files to use it.
2000-12-28 22:12:02 +00:00
Erik Walthinsen a46c5a73f0 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.
2000-12-26 23:51:04 +00:00