<html><div style='background-color:'><DIV class=RTE>Hi, folks;<BR>Now , i
am want to know the thread module in the gstreamer framework, and i had
know some points about thread modle.Some results following as:</DIV>
<DIV class=RTE>When during run "gst-launch fakesrc num-buffers=100000 !
fakesink", i check thread about gst-launch using "ps aux", i found , those
are four threads in the gst-launch</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>1: in the gstbin.c , at line 2074, g_thread_pool_push
(klass->pool, bin, NULL), i know, it will create first thread , i think,
it is pipeline thread , it is a main thread , right?</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>2: i know , in the fakesrc.c, it will create one thread to
push buffer data to down element, right?</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>3:in the gstsystemclock.c, at line 130,
clock->thread = g_thread_create ((GThreadFunc)
gst_system_clock_async_thread,<BR> clock,
TRUE, &error);, i think, this thread used to control clock,some
sync function, right?</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>4: in the gsttask.c, at line 371, g_thread_pool_push
(tclass->pool, task, NULL);, it will create other thread, i do not know,
why create this thread using task which is reated by the pad? could explian
those?</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>All, do you think those? </DIV>
<DIV class=RTE>please confirm those if you know those in detail, i think, i
maybe do not understand clearly.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>thanks</DIV>
<DIV class=RTE>hzm</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE> </DIV></div></html>