summaryrefslogtreecommitdiff
path: root/tests/sched
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-11-30 13:08:08 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-11-30 13:08:08 +0000
commit78adfea0f0d780421788543fe50fef7990f5717f (patch)
tree8c4a2cfb5955f169903d194016862f1cafbe4c9d /tests/sched
parentf3c23f96fa70312f362d2fccddaeb9f5ecc1d7a4 (diff)
First pass at cleaning up tests/ dir before moving the rest
Original commit message from CVS: * configure.ac: * tests/bench-complexity.scm: * tests/bench-mass_elements.scm: * tests/complexity.c: * tests/complexity.gnuplot: * tests/instantiate/.cvsignore: * tests/instantiate/Makefile.am: * tests/instantiate/caps.c: * tests/mass_elements.c: * tests/network-clock-utils.scm: * tests/network-clock.scm: * tests/plot-data: First pass at cleaning up tests/ dir before moving the rest Combined with CVS surgery
Diffstat (limited to 'tests/sched')
-rw-r--r--tests/sched/.gitignore18
-rw-r--r--tests/sched/Makefile.am12
-rw-r--r--tests/sched/cases/(fs-fs).xml79
-rw-r--r--tests/sched/cases/(fs-i-fs).xml235
-rw-r--r--tests/sched/cases/(fs-i-i-fs).xml627
-rw-r--r--tests/sched/cases/(fs-i-q[i-fs]).xml107
-rw-r--r--tests/sched/dynamic-pipeline.c64
-rw-r--r--tests/sched/interrupt1.c35
-rw-r--r--tests/sched/interrupt2.c38
-rw-r--r--tests/sched/interrupt3.c42
-rwxr-xr-xtests/sched/runtestcases15
-rw-r--r--tests/sched/runxml.c90
-rw-r--r--tests/sched/sched-stress.c27
-rw-r--r--tests/sched/sort.c160
-rw-r--r--tests/sched/testcases1060
-rw-r--r--tests/sched/testcases1.tc18
16 files changed, 0 insertions, 2627 deletions
diff --git a/tests/sched/.gitignore b/tests/sched/.gitignore
deleted file mode 100644
index f56315723..000000000
--- a/tests/sched/.gitignore
+++ /dev/null
@@ -1,18 +0,0 @@
-Makefile
-Makefile.in
-*.o
-*.lo
-*.la
-.deps
-.libs
-
-runxml
-log.txt
-dynamic-pipeline
-interrupt1
-interrupt2
-interrupt3
-sched-stress
-*.bb
-*.bbg
-*.da
diff --git a/tests/sched/Makefile.am b/tests/sched/Makefile.am
deleted file mode 100644
index 9230080f9..000000000
--- a/tests/sched/Makefile.am
+++ /dev/null
@@ -1,12 +0,0 @@
-if GST_DISABLE_LOADSAVE
-noinst_PROGRAMS =
-else
-noinst_PROGRAMS = runxml dynamic-pipeline sched-stress interrupt1 interrupt2 interrupt3 sort
-endif
-
-dynamic_pipeline_SOURCES = dynamic-pipeline.c
-sched_stress_SOURCES = sched-stress.c
-sched_stress_LDADD = $(GST_OBJ_LIBS) #-lefence
-
-LDADD = $(GST_OBJ_LIBS)
-AM_CFLAGS = $(GST_OBJ_CFLAGS)
diff --git a/tests/sched/cases/(fs-fs).xml b/tests/sched/cases/(fs-fs).xml
deleted file mode 100644
index fa7dc97ce..000000000
--- a/tests/sched/cases/(fs-fs).xml
+++ /dev/null
@@ -1,79 +0,0 @@
-<?xml version="1.0"?>
-<GST-Pipeline>
- <element>
- <name>new_element</name>
- <type>thread</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>bin2</name>
- <type>bin</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
-</GST-Pipeline>
diff --git a/tests/sched/cases/(fs-i-fs).xml b/tests/sched/cases/(fs-i-fs).xml
deleted file mode 100644
index 9171bd97c..000000000
--- a/tests/sched/cases/(fs-i-fs).xml
+++ /dev/null
@@ -1,235 +0,0 @@
-<?xml version="1.0"?>
-<GST-Pipeline>
- <element>
- <name>bin1</name>
- <type>bin</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>bin2</name>
- <type>bin</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>bin3</name>
- <type>thread</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>bin4</name>
- <type>thread</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
-</GST-Pipeline>
diff --git a/tests/sched/cases/(fs-i-i-fs).xml b/tests/sched/cases/(fs-i-i-fs).xml
deleted file mode 100644
index 2f49604c7..000000000
--- a/tests/sched/cases/(fs-i-i-fs).xml
+++ /dev/null
@@ -1,627 +0,0 @@
-<?xml version="1.0"?>
-<GST-Pipeline>
- <element>
- <name>bin1</name>
- <type>bin</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity2.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity2.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity2</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>bin2</name>
- <type>bin</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>bin3</name>
- <type>bin</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>bin4</name>
- <type>bin</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>thread1</name>
- <type>thread</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>thread2</name>
- <type>thread</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>thread3</name>
- <type>thread</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>false</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>thread4</name>
- <type>thread</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GstFakeSrc::num_sources</name>
- <value>1</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GstIdentity::loop_based</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
-</GST-Pipeline>
diff --git a/tests/sched/cases/(fs-i-q[i-fs]).xml b/tests/sched/cases/(fs-i-q[i-fs]).xml
deleted file mode 100644
index 3d0abdc85..000000000
--- a/tests/sched/cases/(fs-i-q[i-fs]).xml
+++ /dev/null
@@ -1,107 +0,0 @@
-<?xml version="1.0"?>
-<GST-Pipeline>
- <element>
- <name>new_element</name>
- <type>bin</type>
- <version>0.9.2</version>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>thread</name>
- <type>thread</type>
- <version>0.9.2</version>
- <arg>
- <name>GstThread::create_thread</name>
- <value>true</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- <children>
- <element>
- <name>identity</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>queue.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>fakesink.sink</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesink</name>
- <type>fakesink</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity.src</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
- <element>
- <name>queue</name>
- <type>queue</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>identity1.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>identity.sink</peer>
- </pad>
- <arg>
- <name>GstQueue::level</name>
- <value>0</value>
- </arg>
- <arg>
- <name>GstQueue::max_level</name>
- <value>20</value>
- </arg>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>fakesrc</name>
- <type>fakesrc</type>
- <version>0.9.2</version>
- <pad>
- <name>src</name>
- <peer>identity1.sink</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- <element>
- <name>identity1</name>
- <type>identity</type>
- <version>0.9.2</version>
- <pad>
- <name>sink</name>
- <peer>fakesrc.src</peer>
- </pad>
- <pad>
- <name>src</name>
- <peer>queue.sink</peer>
- </pad>
- <arg>
- <name>GtkObject::user_data</name>
- </arg>
- </element>
- </children>
- </element>
-</GST-Pipeline>
diff --git a/tests/sched/dynamic-pipeline.c b/tests/sched/dynamic-pipeline.c
deleted file mode 100644
index a20a3f957..000000000
--- a/tests/sched/dynamic-pipeline.c
+++ /dev/null
@@ -1,64 +0,0 @@
-#include <gst/gst.h>
-
-/* This test will fail because it tries to allocate two cothread_context's in
- * one thread. This will cause a segfault. This is a problem with gstreamer's
- * cothreading that is fixed in the newer cothreads package.
- */
-
-int
-main (int argc, char *argv[])
-{
- GstElement *fakesrc, *fakesink1, *fakesink2, *pipe1, *pipe2;
-
- gst_init (&argc, &argv);
-
- if (argc != 1) {
- g_print ("usage: %s\n", argv[0]);
- exit (-1);
- }
-
- fakesrc = gst_element_factory_make ("fakesrc", "fakesrc");
- fakesink1 = gst_element_factory_make ("fakesink", "fakesink1");
- fakesink2 = gst_element_factory_make ("fakesink", "fakesink2");
-
- /* a crucial part of this test (and one that the old cothreads fails on) is
- having two active pipelines in the same thread. */
- pipe1 = gst_pipeline_new ("pipe1");
- pipe2 = gst_pipeline_new ("pipe2");
-
- /* make the first pipeline */
- gst_bin_add (GST_BIN (pipe1), fakesrc);
- gst_bin_add (GST_BIN (pipe1), fakesink1);
- gst_element_link_pads (fakesrc, "src", fakesink1, "sink");
-
- /* initialize cothreads */
- gst_element_set_state (pipe1, GST_STATE_PLAYING);
-
- gst_element_set_state (pipe1, GST_STATE_READY);
-
- /* destroy the fakesink, but keep fakesrc (its state is GST_STATE_READY) */
- gst_element_unlink_pads (fakesrc, "src", fakesink1, "sink");
- gst_object_ref (fakesrc);
- gst_bin_remove (GST_BIN (pipe1), fakesrc);
- g_usleep (2 * G_USEC_PER_SEC);
- gst_bin_remove (GST_BIN (pipe1), fakesink1);
-
- gst_object_unref (pipe1);
-
- /* make a new pipeline */
- gst_bin_add (GST_BIN (pipe2), fakesink2);
-
- /* don't change the new pipeline's state, it should change on the bin_add */
- gst_bin_add (GST_BIN (pipe2), fakesrc);
- gst_element_link_pads (fakesrc, "src", fakesink2, "sink");
-
- /* show the pipeline state */
- gst_xml_write_file (GST_ELEMENT (pipe2), stdout);
-
- /* try to iterate the pipeline */
- gst_element_set_state (pipe2, GST_STATE_PLAYING);
- g_usleep (2 * G_USEC_PER_SEC);
- gst_element_set_state (pipe2, GST_STATE_NULL);
-
- return 0;
-}
diff --git a/tests/sched/interrupt1.c b/tests/sched/interrupt1.c
deleted file mode 100644
index b75aa16e8..000000000
--- a/tests/sched/interrupt1.c
+++ /dev/null
@@ -1,35 +0,0 @@
-#include <gst/gst.h>
-
-int
-main (int argc, char *argv[])
-{
- GstElement *pipeline, *queue, *src, *sink;
-
- gst_init (&argc, &argv);
-
- free (malloc (8)); /* -lefence */
-
- pipeline = gst_pipeline_new ("pipeline");
-
- src = gst_element_factory_make ("fakesrc", "src");
-
- queue = gst_element_factory_make ("queue", "queue");
- sink = gst_element_factory_make ("fakesink", "sink");
-
- gst_bin_add (GST_BIN (pipeline), src);
- gst_bin_add (GST_BIN (pipeline), queue);
- gst_bin_add (GST_BIN (pipeline), sink);
-
- gst_element_link_pads (src, "src", queue, "sink");
- gst_element_link_pads (queue, "src", sink, "sink");
-
- gst_element_set_state (pipeline, GST_STATE_PLAYING);
- g_usleep (G_USEC_PER_SEC);
- gst_element_set_state (pipeline, GST_STATE_PAUSED);
-
- gst_element_set_state (pipeline, GST_STATE_PLAYING);
- g_usleep (G_USEC_PER_SEC);
- gst_element_set_state (pipeline, GST_STATE_PAUSED);
-
- return 0;
-}
diff --git a/tests/sched/interrupt2.c b/tests/sched/interrupt2.c
deleted file mode 100644
index 8d9667d36..000000000
--- a/tests/sched/interrupt2.c
+++ /dev/null
@@ -1,38 +0,0 @@
-#include <gst/gst.h>
-
-int
-main (int argc, char *argv[])
-{
- GstElement *pipeline, *queue, *src, *identity, *sink;
-
- gst_init (&argc, &argv);
-
- free (malloc (8)); /* -lefence */
-
- pipeline = gst_pipeline_new ("pipeline");
-
- src = gst_element_factory_make ("fakesrc", "src");
-
- queue = gst_element_factory_make ("queue", "queue");
- identity = gst_element_factory_make ("identity", "identity");
- sink = gst_element_factory_make ("fakesink", "sink");
-
- gst_bin_add (GST_BIN (pipeline), src);
- gst_bin_add (GST_BIN (pipeline), queue);
- gst_bin_add (GST_BIN (pipeline), identity);
- gst_bin_add (GST_BIN (pipeline), sink);
-
- gst_element_link_pads (src, "src", queue, "sink");
- gst_element_link_pads (queue, "src", identity, "sink");
- gst_element_link_pads (identity, "src", sink, "sink");
-
- gst_element_set_state (pipeline, GST_STATE_PLAYING);
- g_usleep (G_USEC_PER_SEC);
- gst_element_set_state (pipeline, GST_STATE_PAUSED);
-
- gst_element_set_state (pipeline, GST_STATE_PLAYING);
- g_usleep (G_USEC_PER_SEC);
- gst_element_set_state (pipeline, GST_STATE_PAUSED);
-
- return 0;
-}
diff --git a/tests/sched/interrupt3.c b/tests/sched/interrupt3.c
deleted file mode 100644
index c4f95252f..000000000
--- a/tests/sched/interrupt3.c
+++ /dev/null
@@ -1,42 +0,0 @@
-#include <gst/gst.h>
-
-int
-main (int argc, char *argv[])
-{
- GstElement *pipeline, *queue, *src, *adder, *sink;
- GstPad *sinkpad;
-
- gst_init (&argc, &argv);
-
- free (malloc (8)); /* -lefence */
-
- pipeline = gst_pipeline_new ("pipeline");
-
- src = gst_element_factory_make ("fakesrc", "src");
- g_object_set (G_OBJECT (src), "sizetype", 2, NULL);
-
- queue = gst_element_factory_make ("queue", "queue");
- adder = gst_element_factory_make ("adder", "adder");
- sink = gst_element_factory_make ("fakesink", "sink");
-
- gst_bin_add (GST_BIN (pipeline), src);
- gst_bin_add (GST_BIN (pipeline), queue);
- gst_bin_add (GST_BIN (pipeline), adder);
- gst_bin_add (GST_BIN (pipeline), sink);
-
- sinkpad = gst_element_get_request_pad (adder, "sink%d");
-
- gst_element_link_pads (src, "src", queue, "sink");
- gst_pad_link (gst_element_get_pad (queue, "src"), sinkpad);
- gst_element_link_pads (adder, "src", sink, "sink");
-
- gst_element_set_state (pipeline, GST_STATE_PLAYING);
- g_usleep (G_USEC_PER_SEC);
- gst_element_set_state (pipeline, GST_STATE_PAUSED);
-
- gst_element_set_state (pipeline, GST_STATE_PLAYING);
- g_usleep (G_USEC_PER_SEC);
- gst_element_set_state (pipeline, GST_STATE_PAUSED);
-
- return 0;
-}
diff --git a/tests/sched/runtestcases b/tests/sched/runtestcases
deleted file mode 100755
index c79ee3e92..000000000
--- a/tests/sched/runtestcases
+++ /dev/null
@@ -1,15 +0,0 @@
-#/bin/bash
-
-echo "log" > log.txt
-
-for i in cases/*.xml
-do
- ./runxml $i
- error=$?
- if test $error -ne 0;
- then
- echo $i " error," $error >>log.txt
- else
- echo $i " ok" >>log.txt
- fi
-done
diff --git a/tests/sched/runxml.c b/tests/sched/runxml.c
deleted file mode 100644
index e20bfd049..000000000
--- a/tests/sched/runxml.c
+++ /dev/null
@@ -1,90 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <gst/gst.h>
-
-static guint outcount, incount;
-
-static void
-buffer_handoff_sink (GstElement * src, GstBuffer * buf, GstElement * bin)
-{
- g_print ("\n\n *** buffer arrived in sink ***\n\n");
- gst_element_set_state (bin, GST_STATE_NULL);
-
- outcount++;
-}
-
-static void
-buffer_handoff_src (GstElement * src, GstBuffer * buf, GstElement * bin)
-{
- g_print ("\n\n *** buffer started in src ***\n\n");
- incount++;
-}
-
-/* eos will be called when the src element has an end of stream */
-void
-eos (GstElement * element, gpointer data)
-{
- g_print ("have eos, quitting\n");
-}
-
-int
-main (int argc, char *argv[])
-{
- GstXML *xml;
- GList *toplevelelements;
- gint i = 1;
-
- gst_init (&argc, &argv);
-
- if (argc < 2) {
- g_print ("usage: %s <xml file>\n", argv[0]);
- exit (-1);
- }
-
- g_print ("\n *** using testfile %s\n", argv[1]);
-
- xml = gst_xml_new ();
- gst_xml_parse_file (xml, (const guchar *) argv[1], NULL);
-
- toplevelelements = gst_xml_get_topelements (xml);
-
- while (toplevelelements) {
- GstElement *bin = (GstElement *) toplevelelements->data;
- GstElement *src, *sink;
-
- g_print ("\n ***** testcase %d\n", i++);
-
- src = gst_bin_get_by_name (GST_BIN (bin), "fakesrc");
- if (src) {
- g_signal_connect (G_OBJECT (src), "handoff",
- G_CALLBACK (buffer_handoff_src), bin);
- } else {
- g_print ("could not find src element\n");
- exit (-1);
- }
-
- sink = gst_bin_get_by_name (GST_BIN (bin), "fakesink");
- if (sink) {
- g_signal_connect (G_OBJECT (sink), "handoff",
- G_CALLBACK (buffer_handoff_sink), bin);
- } else {
- g_print ("could not find sink element\n");
- exit (-1);
- }
-
- incount = 0;
- outcount = 0;
-
-/* gst_element_set_state(bin, GST_STATE_READY); */
- gst_element_set_state (bin, GST_STATE_PLAYING);
-
- if (outcount != 1 && incount != 1) {
- g_print ("test failed\n");
- exit (-1);
- }
-
- toplevelelements = g_list_next (toplevelelements);
- }
-
- exit (0);
-}
diff --git a/tests/sched/sched-stress.c b/tests/sched/sched-stress.c
deleted file mode 100644
index cd8ca537c..000000000
--- a/tests/sched/sched-stress.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <gst/gst.h>
-
-#define TAILLE 100
-
-int
-main (int argc, char *argv[])
-{
- GstElement *bin, *src, *dec, *sink;
- int i;
-
- gst_init (&argc, &argv);
-
- free (malloc (8)); /* -lefence */
-
- for (i = 0; i < TAILLE; i++) {
- bin = gst_pipeline_new ("pipeline");
- src = gst_element_factory_make ("fakesrc", "source");
- dec = gst_element_factory_make ("identity", "decoder");
- sink = gst_element_factory_make ("fakesink", "sink");
- gst_bin_add_many (GST_BIN (bin), src, dec, sink, NULL);
- gst_element_link_many (src, dec, sink, NULL);
- gst_element_set_state (bin, GST_STATE_PLAYING);
- gst_element_set_state (bin, GST_STATE_PAUSED);
- }
-
- return 0;
-}
diff --git a/tests/sched/sort.c b/tests/sched/sort.c
deleted file mode 100644
index b674635a1..000000000
--- a/tests/sched/sort.c
+++ /dev/null
@@ -1,160 +0,0 @@
-#include <gst/gst.h>
-
-static GstElement *
-make_pipeline1 ()
-{
- GstElement *fakesrc, *fakesink;
- GstElement *pipeline;
-
- pipeline = gst_pipeline_new ("pipeline");
- g_assert (pipeline != NULL);
-
- fakesrc = gst_element_factory_make ("fakesrc", "fake_source");
- g_assert (fakesrc != NULL);
-
- fakesink = gst_element_factory_make ("fakesink", "fake_sink");
- g_assert (fakesink != NULL);
-
- gst_bin_add_many (GST_BIN (pipeline), fakesrc, fakesink, NULL);
- gst_element_link (fakesrc, fakesink);
-
- return pipeline;
-}
-
-static GstElement *
-make_pipeline2 ()
-{
- GstElement *fakesrc, *tee, *fakesink1, *fakesink2;
- GstElement *pipeline;
-
- pipeline = gst_pipeline_new ("pipeline");
- g_assert (pipeline != NULL);
-
- fakesrc = gst_element_factory_make ("fakesrc", "fake_source");
- g_assert (fakesrc != NULL);
-
- tee = gst_element_factory_make ("tee", "tee");
- g_assert (tee != NULL);
-
- fakesink1 = gst_element_factory_make ("fakesink", "fake_sink1");
- g_assert (fakesink1 != NULL);
-
- fakesink2 = gst_element_factory_make ("fakesink", "fake_sink2");
- g_assert (fakesink2 != NULL);
-
- gst_bin_add_many (GST_BIN (pipeline), fakesrc, tee, fakesink1, fakesink2,
- NULL);
- gst_element_link (fakesrc, tee);
- gst_element_link (tee, fakesink1);
- gst_element_link (tee, fakesink2);
-
- return pipeline;
-}
-
-static GstElement *
-make_pipeline3 ()
-{
- GstElement *fakesrc, *tee, *identity, *fakesink1, *fakesink2;
- GstElement *pipeline;
-
- pipeline = gst_pipeline_new ("pipeline");
- g_assert (pipeline != NULL);
-
- fakesrc = gst_element_factory_make ("fakesrc", "fake_source");
- g_assert (fakesrc != NULL);
-
- tee = gst_element_factory_make ("tee", "tee");
- g_assert (tee != NULL);
-
- identity = gst_element_factory_make ("identity", "identity");
- g_assert (identity != NULL);
-
- fakesink1 = gst_element_factory_make ("fakesink", "fake_sink1");
- g_assert (fakesink1 != NULL);
-
- fakesink2 = gst_element_factory_make ("fakesink", "fake_sink2");
- g_assert (fakesink2 != NULL);
-
- gst_bin_add_many (GST_BIN (pipeline), fakesrc, tee, identity,
- fakesink1, fakesink2, NULL);
- gst_element_link (fakesrc, tee);
- gst_element_link (tee, identity);
- gst_element_link (identity, fakesink1);
- gst_element_link (tee, fakesink2);
-
- return pipeline;
-}
-
-static GstElement *
-make_pipeline4 ()
-{
- GstElement *fakesrc, *tee, *identity, *fakesink1, *fakesink2;
- GstElement *pipeline;
-
- pipeline = gst_pipeline_new ("pipeline");
- g_assert (pipeline != NULL);
-
- fakesrc = gst_element_factory_make ("fakesrc", "fake_source");
- g_assert (fakesrc != NULL);
-
- tee = gst_element_factory_make ("tee", "tee");
- g_assert (tee != NULL);
-
- identity = gst_element_factory_make ("identity", "identity");
- g_assert (identity != NULL);
-
- fakesink1 = gst_element_factory_make ("fakesink", "fake_sink1");
- g_assert (fakesink1 != NULL);
-
- fakesink2 = gst_element_factory_make ("fakesink", "fake_sink2");
- g_assert (fakesink2 != NULL);
-
- gst_bin_add_many (GST_BIN (pipeline), fakesrc, tee, identity,
- fakesink1, fakesink2, NULL);
- gst_element_link (fakesrc, tee);
- gst_element_link (identity, fakesink1);
-
- return pipeline;
-}
-
-static void
-print_elem (GstElement * elem, gpointer unused)
-{
- g_print ("----> %s\n", GST_ELEMENT_NAME (elem));
- gst_object_unref (elem);
-}
-
-int
-main (int argc, gchar * argv[])
-{
- GstElement *bin;
- GstIterator *it;
-
- gst_init (&argc, &argv);
-
- g_print ("pipeline 1\n");
- bin = make_pipeline1 ();
- it = gst_bin_iterate_sorted (GST_BIN (bin));
- gst_iterator_foreach (it, (GFunc) print_elem, NULL);
- gst_iterator_free (it);
-
- g_print ("pipeline 2\n");
- bin = make_pipeline2 ();
- it = gst_bin_iterate_sorted (GST_BIN (bin));
- gst_iterator_foreach (it, (GFunc) print_elem, NULL);
- gst_iterator_free (it);
-
- g_print ("pipeline 3\n");
- bin = make_pipeline3 ();
- it = gst_bin_iterate_sorted (GST_BIN (bin));
- gst_iterator_foreach (it, (GFunc) print_elem, NULL);
- gst_iterator_free (it);
-
- g_print ("pipeline 4\n");
- bin = make_pipeline4 ();
- it = gst_bin_iterate_sorted (GST_BIN (bin));
- gst_iterator_foreach (it, (GFunc) print_elem, NULL);
- gst_iterator_free (it);
-
- return 0;
-}
diff --git a/tests/sched/testcases b/tests/sched/testcases
deleted file mode 100644
index c91ae3f06..000000000
--- a/tests/sched/testcases
+++ /dev/null
@@ -1,1060 +0,0 @@
-* = loopbased
-
-/**************************************************************************************/
- * 1 bin
- **************************************************************************************/
-
-1)
-
-
- [-bin-------------------------------]
- ! [--------] [--------] !
- ! !faksesrc! !fakesink! !
- ! ! src -------- sink ! !
- ! [--------] [--------] !
- [-----------------------------------]
-
-fakesrc ! fakesink
-
-2)
-
-
- [-bin-----------------------------------------------]
- ! [--------] [--------] [--------] !
- ! !faksesrc! !identity! !fakesink! !
- ! ! src --- sink src ----- sink ! !
- ! [--------] [--------] [--------] !
- [---------------------------------------------------]
-
-fakesrc ! identity ! fakesink
-
-3)
-
-
- [-bin-----------------------------------------------]
- ! [--------] [--------] [--------] !
- ! !faksesrc! !identity! !fakesink! !
- ! ! src --- sink * src ----- sink ! !
- ! [--------] [--------] [--------] !
- [---------------------------------------------------]
-
-fakesrc ! @identity ! fakesink
-
-4)
-
- [-bin--------------------------------------------------------------]
- ! [--------] [--------] [--------] [--------] !
- ! !faksesrc! !identity! !identity! !fakesink! !
- ! ! src --- sink src -- sink src -- sink ! !
- ! [--------] [--------] [--------] [--------] !
- [------------------------------------------------------------------]
-
-fakesrc ! identity ! identity ! fakesink
-
-4b)
-
- [-bin--------------------------------------------------------------]
- ! [--------] [--------] [--------] [--------] !
- ! !faksesrc! !identity! !identity! !fakesink! !
- ! ! src --- sink * src -- sink src -- sink ! !
- ! [--------] [--------] [--------] [--------] !
- [------------------------------------------------------------------]
-
-fakesrc ! @identity ! identity ! fakesink
-
-5)
-
- [------------------------------------------------------------------]
- ! [--------] [--------] [--------] [--------] !
- ! !faksesrc! !identity! !identity! !fakesink! !
- ! ! src --- sink src -- sink * src -- sink ! !
- ! [--------] [--------] [--------] [--------] !
- [------------------------------------------------------------------]
-
-fakesrc ! identity ! @identity ! fakesink
-
-5b)
-
- [------------------------------------------------------------------]
- ! [--------] [--------] [--------] [--------] !
- ! !faksesrc! !identity! !identity! !fakesink! !
- ! ! src --- sink * src -- sink * src -- sink ! !
- ! [--------] [--------] [--------] [--------] !
- [------------------------------------------------------------------]
-
-fakesrc ! @identity ! @identity ! fakesink
-
-
-/**************************************************************************************/
- * bin-in-bin based
- **************************************************************************************/
-
-6)
-
- [-bin-----------------------------------]
- [ [-bin-------------------------------] ]
- [ ! [--------] [--------] ! ]
- [ ! !faksesrc! !fakesink! ! ]
- [ ! ! src -------- sink ! ! ]
- [ ! [--------] [--------] ! ]
- [ [-----------------------------------] ]
- [---------------------------------------]
-
-(fakesrc ! fakesink)
-
-7)
-
- [-bin-----------------------------------]
- [ [-bin----------] ]
- [ ! [--------] ] [--------] ]
- [ ! !faksesrc! ] !fakesink! ]
- [ ! ! src -------- sink ! ]
- [ ! [--------] ] [--------] ]
- [ [--------------] ]
- [---------------------------------------]
-
-(fakesrc) ! fakesink
-
-8)
-
- [-bin-----------------------------------]
- [ [-bin-------------] ]
- [ [--------] [ [--------] ! ]
- [ !faksesrc! [ !fakesink! ! ]
- [ ! src -------- sink ! ! ]
- [ [--------] [ [--------] ! ]
- [ [-----------------] ]
- [---------------------------------------]
-
-fakesrc ! (fakesink)
-
-9)
-
- [-bin---------------------------------------------------]
- [ [-bin-------------] !
- [ [--------] [--------] ! [--------] ! !
- [ !faksesrc! !identity! ! !fakesink! ! !
- [ ! src --- sink src ----- sink ! ! !
- [ [--------] [--------] ! [--------] ! !
- [ [-----------------] !
- [-------------------------------------------------------]
-
-fakesrc ! identity ! (fakesink)
-
-10)
-
- [-bin---------------------------------------------------]
- [ [-bin-------------] !
- [ [--------] [--------] ! [--------] ! !
- [ !faksesrc! !identity! ! !fakesink! ! !
- [ ! src --- sink * src ----- sink ! ! !
- [ [--------] [--------] ! [--------] ! !
- [ [-----------------] !
- [-------------------------------------------------------]
-
-fakesrc ! @identity ! (fakesink)
-
-11)
-
- [-bin---------------------------------------------------]
- [ [-bin--------------------------------] !
- [ [--------] ! [--------] [--------] ! !
- [ !faksesrc! ! !identity! !fakesink! ! !
- [ ! src --- sink src ----- sink ! ! !
- [ [--------] ! [--------] [--------] ! !
- [ [------------------------------------] !
- [-------------------------------------------------------]
-
-fakesrc ! (identity ! fakesink)
-
-12)
-
- [-bin---------------------------------------------------]
- [ [-bin--------------------------------] !
- [ [--------] ! [--------] [--------] ! !
- [ !faksesrc! ! !identity! !fakesink! ! !
- [ ! src --- sink * src ----- sink ! ! !
- [ [--------] ! [--------] [--------] ! !
- [ [------------------------------------] !
- [-------------------------------------------------------]
-
-fakesrc ! (@identity ! fakesink)
-
-13)
-
- [-bin---------------------------------------------------]
- [ [-bin-----------------------------] !
- [ [ [--------] [--------] ! [--------] !
- [ [ !faksesrc! !identity! ! !fakesink! !
- [ [ ! src --- sink src ----- sink ! !
- [ [ [--------] [--------] ! [--------] !
- [ [---------------------------------] !
- [-------------------------------------------------------]
-
-(fakesrc ! identity) ! fakesink
-
-14)
-
- [-bin---------------------------------------------------]
- ! [-bin-----------------------------] !
- ! ! [--------] [--------] ! [--------] !
- ! ! !faksesrc! !identity! ! !fakesink! !
- ! ! ! src --- sink * src ----- sink ! !
- ! ! [--------] [--------] ! [--------] !
- ! [---------------------------------] !
- [-------------------------------------------------------]
-
-(fakesrc ! @identity) ! fakesink
-
-15)
-
- [-bin----------------------------------------------------------------]
- ! [-bin-----------------------------] !
- ! ! [--------] [--------] ! [--------] [--------] !
- ! ! !faksesrc! !identity! ! !identity! !fakesink! !
- ! ! ! src --- sink src -- sink src -- sink ! !
- ! ! [--------] [--------] ! [--------] [--------] !
- ! [---------------------------------] !
- [--------------------------------------------------------------------]
-
-(fakesrc ! identity) ! identity ! fakesink
-
-16)
-
- [-bin----------------------------------------------------------------]
- ! [-bin----------------------------] !
- ! [--------] [--------] ! [--------] [--------] ! !
- ! !faksesrc! !identity! ! !identity! !fakesink! ! !
- ! ! src --- sink src -- sink src -- sink ! ! !
- ! [--------] [--------] ! [--------] [--------] ! !
- ! [--------------------------------] !
- [--------------------------------------------------------------------]
-
-fakesrc ! identity ! (identity ! fakesink)
-
-17)
-
- [-bin----------------------------------------------------------------]
- ! [-bin----------------------------] !
- ! [--------] [--------] ! [--------] [--------] ! !
- ! !faksesrc! !identity! ! !identity! !fakesink! ! !
- ! ! src --- sink src -- sink * src -- sink ! ! !
- ! [--------] [--------] ! [--------] [--------] ! !
- ! [--------------------------------] !
- [--------------------------------------------------------------------]
-
-fakesrc ! identity ! (@identity ! fakesink)
-
-18)
-
- [-bin----------------------------------------------------------------]
- ! [-bin----------------------------] !
- ! [--------] [--------] ! [--------] [--------] ! !
- ! !faksesrc! !identity! ! !identity! !fakesink! ! !
- ! ! src --- sink * src -- sink * src -- sink ! ! !
- ! [--------] [--------] ! [--------] [--------] ! !
- ! [--------------------------------] !
- [--------------------------------------------------------------------]
-
-fakesrc ! @identity ! @identity ! fakesink
-
-19)
-
- [-bin----------------------------------------------------------------]
- ! [-bin-----------------------------] !
- ! ! [--------] [--------] ! [--------] [--------] !
- ! ! !faksesrc! !identity! ! !identity! !fakesink! !
- ! ! ! src --- sink * src -- sink src -- sink ! !
- ! ! [--------] [--------] ! [--------] [--------] !
- ! [---------------------------------] !
- [--------------------------------------------------------------------]
-
-(fakesrc ! @identity) ! identity ! fakesink
-
-20)
-
- [-bin----------------------------------------------------------------]
- ! [-bin-----------------------------] !
- ! ! [--------] [--------] ! [--------] [--------] !
- ! ! !faksesrc! !identity! ! !identity! !fakesink! !
- ! ! ! src --- sink src -- sink * src -- sink ! !
- ! ! [--------] [--------] ! [--------] [--------] !
- ! [---------------------------------] !
- [--------------------------------------------------------------------]
-
-(fakesrc ! identity) ! @identity ! fakesink
-
-21)
-
- [-bin----------------------------------------------------------------]
- ! [-bin-----------------------------] !
- ! ! [--------] [--------] ! [--------] [--------] !
- ! ! !faksesrc! !identity! ! !identity! !fakesink! !
- ! ! ! src --- sink * src -- sink * src -- sink ! !
- ! ! [--------] [--------] ! [--------] [--------] !
- ! [---------------------------------] !
- [--------------------------------------------------------------------]
-
-(fakesrc ! @identity) ! @identity ! fakesink
-
-22)
-
- [-bin--------------------------------------------------------------------]
- ! [-bin----------------------------] [-bin-----------------------------] !
- ! ! [--------] [--------] ! ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink ! ! !
- ! ! [--------] [--------] ! ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [------------------------------------------------------------------------]
-
-(fakesrc ! identity) ! (identity ! fakesink)
-
-23)
-
- [-bin--------------------------------------------------------------------]
- ! [-bin----------------------------] [-bin-----------------------------] !
- ! ! [--------] [--------] ! ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src --- sink * src -- sink ! ! !
- ! ! [--------] [--------] ! ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [------------------------------------------------------------------------]
-
-(fakesrc ! identity) ! (@identity ! fakesink)
-
-24)
-
- [-bin--------------------------------------------------------------------]
- ! [-bin----------------------------] [-bin-----------------------------] !
- ! ! [--------] [--------] ! ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! ! !identity! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink ! ! !
- ! ! [--------] [--------] ! ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [------------------------------------------------------------------------]
-
-(fakesrc ! @identity) ! (identity ! fakesink)
-
-25)
-
- [-bin--------------------------------------------------------------------]
- ! [-bin----------------------------] [-bin-----------------------------] !
- ! ! [--------] [--------] ! ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! ! !identity! !fakesink! ! !
- ! ! ! src --- sink * src --- sink * src -- sink ! ! !
- ! ! [--------] [--------] ! ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [------------------------------------------------------------------------]
-
-(fakesrc ! @identity) ! (@identity ! fakesink)
-
-/**************************************************************************************/
- * threads
- **************************************************************************************/
-
-26)
-
- [-bin-----------------------------------]
- [ [-thread----------------------------] ]
- [ ! [--------] [--------] ! ]
- [ ! !faksesrc! !fakesink! ! ]
- [ ! ! src -------- sink ! ! ]
- [ ! [--------] [--------] ! ]
- [ [-----------------------------------] ]
- [---------------------------------------]
-
-[fakesrc ! fakesink]
-
-27)
-
- [-thread--------------------------------]
- [ [-bin-------------------------------] ]
- [ ! [--------] [--------] ! ]
- [ ! !faksesrc! !fakesink! ! ]
- [ ! ! src -------- sink ! ! ]
- [ ! [--------] [--------] ! ]
- [ [-----------------------------------] ]
- [---------------------------------------]
-
-28)
-
- [-bin--------------------------------------------]
- [ [-thread-------] ]
- [ ! [--------] ] [-----] [--------] ]
- [ ! !faksesrc! ] !queue! !fakesink! ]
- [ ! ! src --- sink src -- sink ! ]
- [ ! [--------] ] [-----] [--------] ]
- [ [--------------] ]
- [------------------------------------------------]
-
-
-29)
-
- [-bin--------------------------------------------]
- [ [-thread--------] ]
- [ [--------] [-----] [ [--------] ! ]
- [ !faksesrc! !queue! [ !fakesink! ! ]
- [ ! src -- sink src --- sink ! ! ]
- [ [--------] [-----] [ [--------] ! ]
- [ [---------------] ]
- [------------------------------------------------]
-
-
-30)
-
- [-bin---------------------------------------------------------------]
- [ [-thread--------] !
- [ [--------] [--------] [-----] ! [--------] ! !
- [ !faksesrc! !identity! !queue! ! !fakesink! ! !
- [ ! src --- sink src -- sink src --- sink ! ! !
- [ [--------] [--------] [-----] ! [--------] ! !
- [ [---------------] !
- [-------------------------------------------------------------------]
-
-
-31)
-
- [-bin---------------------------------------------------------------]
- [ [-thread--------] !
- [ [--------] [--------] [-----] ! [--------] ! !
- [ !faksesrc! !identity! !queue! ! !fakesink! ! !
- [ ! src --- sink * src -- sink src --- sink ! ! !
- [ [--------] [--------] [-----] ! [--------] ! !
- [ [---------------] !
- [-------------------------------------------------------------------]
-
-
-
-32)
-
- [-bin------------------------------------------------------------------]
- [ [-thread-----------------------------] !
- [ [--------] [-----] ! [--------] [--------] ! !
- [ !faksesrc! !queue! ! !identity! !fakesink! ! !
- [ ! src --- sink src --- sink src ----- sink ! ! !
- [ [--------] [-----] ! [--------] [--------] ! !
- [ [------------------------------------] !
- [----------------------------------------------------------------------]
-
-
-33)
-
- [-bin------------------------------------------------------------------]
- [ [-thread-----------------------------] !
- [ [--------] [-----] ! [--------] [--------] ! !
- [ !faksesrc! !queue! ! !identity! !fakesink! ! !
- [ ! src --- sink src --- sink * src ----- sink ! ! !
- [ [--------] [-----] ! [--------] [--------] ! !
- [ [------------------------------------] !
- [----------------------------------------------------------------------]
-
-
-34)
-
- [-bin---------------------------------------------------------------]
- [ [-thread--------------------------] !
- [ [ [--------] [--------] ! [-----] [--------] !
- [ [ !faksesrc! !identity! ! !queue! !fakesink! !
- [ [ ! src --- sink src --- sink src -- sink ! !
- [ [ [--------] [--------] ! [-----] [--------] !
- [ [---------------------------------] !
- [-------------------------------------------------------------------]
-
-
-35)
-
- [-bin---------------------------------------------------------------]
- [ [-thread--------------------------] !
- [ [ [--------] [--------] ! [-----] [--------] !
- [ [ !faksesrc! !identity! ! !queue! !fakesink! !
- [ [ ! src --- sink * src --- sink src -- sink ! !
- [ [ [--------] [--------] ! [-----] [--------] !
- [ [---------------------------------] !
- [-------------------------------------------------------------------]
-
-
-36)
-
- [-bin------------------------------------------------------------------------------]
- ! [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] [--------] [--------] !
- ! ! !faksesrc! !identity! ! !queue! !identity! !fakesink! !
- ! ! ! src --- sink src -- sink src -- sink src -- sink ! !
- ! ! [--------] [--------] ! [-----] [--------] [--------] !
- ! [---------------------------------] !
- [----------------------------------------------------------------------------------]
-
-
-37)
-
- [-bin------------------------------------------------------------------------------]
- ! [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] [--------] [--------] !
- ! ! !faksesrc! !identity! ! !queue! !identity! !fakesink! !
- ! ! ! src --- sink * src -- sink src -- sink src -- sink ! !
- ! ! [--------] [--------] ! [-----] [--------] [--------] !
- ! [---------------------------------] !
- [----------------------------------------------------------------------------------]
-
-
-38)
-
- [-bin------------------------------------------------------------------------------]
- ! [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] [--------] [--------] !
- ! ! !faksesrc! !identity! ! !queue! !identity! !fakesink! !
- ! ! ! src --- sink src -- sink src -- sink * src -- sink ! !
- ! ! [--------] [--------] ! [-----] [--------] [--------] !
- ! [---------------------------------] !
- [----------------------------------------------------------------------------------]
-
-
-39)
-
- [-bin------------------------------------------------------------------------------]
- ! [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] [--------] [--------] !
- ! ! !faksesrc! !identity! ! !queue! !identity! !fakesink! !
- ! ! ! src --- sink * src -- sink src -- sink * src -- sink ! !
- ! ! [--------] [--------] ! [-----] [--------] [--------] !
- ! [---------------------------------] !
- [----------------------------------------------------------------------------------]
-
-
-40)
-
- [-bin------------------------------------------------------------------------------]
- ! [-thread-------------------------] !
- ! [--------] [--------] [-----] ! [--------] [--------] ! !
- ! !faksesrc! !identity! !queue! ! !identity! !fakesink! ! !
- ! ! src --- sink src -- sink src -- sink src -- sink ! ! !
- ! [--------] [--------] [-----] ! [--------] [--------] ! !
- ! [--------------------------------] !
- [----------------------------------------------------------------------------------]
-
-41)
-
- [-bin-------------------------------------------------------------------------------]
- ! [-thread--------------------------] !
- ! [--------] [--------] [-----] ! [--------] [--------] ! !
- ! !faksesrc! !identity! !queue! ! !identity! !fakesink! ! !
- ! ! src --- sink src -- sink src -- sink * src -- sink ! ! !
- ! [--------] [--------] [-----] ! [--------] [--------] ! !
- ! [--------------------------------] !
- [-----------------------------------------------------------------------------------]
-
-42)
-
- [-bin------------------------------------------------------------------------------]
- ! [-thread-------------------------] !
- ! [--------] [--------] [-----] ! [--------] [--------] ! !
- ! !faksesrc! !identity! !queue! ! !identity! !fakesink! ! !
- ! ! src --- sink * src -- sink src -- sink src -- sink ! ! !
- ! [--------] [--------] [-----] ! [--------] [--------] ! !
- ! [--------------------------------] !
- [----------------------------------------------------------------------------------]
-
-
-43)
-
- [-bin------------------------------------------------------------------------------]
- ! [-thread-------------------------] !
- ! [--------] [--------] [-----] ! [--------] [--------] ! !
- ! !faksesrc! !identity! !queue! ! !identity! !fakesink! ! !
- ! ! src --- sink * src -- sink src -- sink * src -- sink ! ! !
- ! [--------] [--------] [-----] ! [--------] [--------] ! !
- ! [--------------------------------] !
- [----------------------------------------------------------------------------------]
-
-
-
-/**********************************************************************************
- * two threads in bin
- **********************************************************************************/
-
-44)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-45)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-46)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-47)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-48)
-
- [-bin---------------------------------------------------------------]
- ! [-thread-------] [-thread--------------------------] !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------] [---------------------------------] !
- [-------------------------------------------------------------------]
-
-
-49)
-
- [-bin---------------------------------------------------------------]
- ! [-thread-------] [-thread--------------------------] !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------] [---------------------------------] !
- [-------------------------------------------------------------------]
-
-
-50)
-
- [-bin----------------------------------------------------------------]
- ! [-thread-------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------]
-
-
-51)
-
- [-bin----------------------------------------------------------------]
- ! [-thread-------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------]
-
-
-52)
-
- [-bin----------------------------------------------]
- ! [-thread-------] [-thread---------] !
- ! ! [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] ! !
- ! [--------------] [----------------] !
- [--------------------------------------------------]
-
-52b)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-52c)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-52d)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink * src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-52e)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink * src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-
-
-/**********************************************************************************
- * thread-bin in bin
- **********************************************************************************/
-
-/** thread first ******/
-
-53)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-bin-----------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-54)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-bin-----------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-55)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-bin-----------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-56)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-bin-----------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-57)
-
- [-bin----------------------------------------------]
- ! [-thread-------] [-bin------------] !
- ! ! [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] ! !
- ! [--------------] [----------------] !
- [--------------------------------------------------]
-
-
-58)
-
- [-bin---------------------------------------------------------------]
- ! [-thread-------] [-bin-----------------------------] !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------] [---------------------------------] !
- [-------------------------------------------------------------------]
-
-
-59)
-
- [-bin---------------------------------------------------------------]
- ! [-thread-------] [-bin-----------------------------] !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------] [---------------------------------] !
- [-------------------------------------------------------------------]
-
-
-60)
-
- [-bin----------------------------------------------------------------]
- ! [-thread-------------------------] [-bin------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------]
-
-
-61)
-
- [-bin----------------------------------------------------------------]
- ! [-thread-------------------------] [-bin------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------]
-
-/* non blocking queue ? */
-
-61a)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-bin------------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-61b)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-bin------------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-61c)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-bin------------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink * src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-61d)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-thread-------------------------] [-bin------------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink * src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-/** bin first ******/
-
-62)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-63)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-64)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-65)
-
- [-bin---------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread--------------------------] !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------------------------] [---------------------------------] !
- [-------------------------------------------------------------------------------------]
-
-
-66)
-
- [-bin----------------------------------------------]
- ! [-bin----------] [-thread---------] !
- ! ! [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] ! !
- ! [--------------] [----------------] !
- [--------------------------------------------------]
-
-
-67)
-
- [-bin---------------------------------------------------------------]
- ! [-bin----------] [-thread--------------------------] !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src -- sink src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------] [---------------------------------] !
- [-------------------------------------------------------------------]
-
-
-68)
-
- [-bin---------------------------------------------------------------]
- ! [-bin----------] [-thread--------------------------] !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
- ! ! ! src --- sink src -- sink * src -- sink ! ! !
- ! ! [--------] ! [-----] ! [--------] [--------] ! !
- ! [--------------] [---------------------------------] !
- [-------------------------------------------------------------------]
-
-
-69)
-
- [-bin----------------------------------------------------------------]
- ! [-bin----------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------]
-
-
-70)
-
- [-bin----------------------------------------------------------------]
- ! [-bin----------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------]
-
-
-71)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-72)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-73)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink src --- sink src -- sink * src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-74)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink * src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
-
-
-75)
-
- [-bin----------------------------------------------------------------------------------------------]
- ! [-bin----------------------------] [-thread---------] !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! ! !faksesrc! !identity! ! !queue! !identity! !queue! ! !fakesink! ! !
- ! ! ! src --- sink * src --- sink src -- sink * src -- sink src -- sink ! ! !
- ! ! [--------] [--------] ! [-----] [--------] [-----] ! [--------] ! !
- ! [--------------------------------] [----------------] !
- [--------------------------------------------------------------------------------------------------]
diff --git a/tests/sched/testcases1.tc b/tests/sched/testcases1.tc
deleted file mode 100644
index 28ee33109..000000000
--- a/tests/sched/testcases1.tc
+++ /dev/null
@@ -1,18 +0,0 @@
-tcN: fakesrc-fakesink
-tcP: fakesrc ! fakesink
-tcS: A, fakesrc0, handoff
-tcS: B, fakesink0, handoff
-tcI: 2
-tcT: 2000
-tcR: A,1,B,1,A,1,B,1
-
-
-tcN: fakesrc-identity-fakesink
-tcP: fakesrc ! identity ! fakesink
-tcS: A, fakesrc0, handoff
-tcS: B, identity, handoff
-tcS: C, fakesink0, handoff
-tcI: 2
-tcT: 2000
-tcR: A,1,B,1,C,1,A,1,B,1,C,1
-