Re: how many thread process used by rygel



On Di, 2012-07-17 at 22:01 +0800, Soho Soho123 wrote:
> Dears,
> 
> per observation from Rygel verification,
> when I start rygel by "rygel -g 5&", there are 2 threads run on my
> target platform.
> when I play a MP3 from W7 media player, then there are 6 threads run
> on my target platform.
> when I stop playing MP3 from W7 media player, then there 2 threads run
> on my target platform.
> 
> Does anyone have idea about there 4 threads are started when rygel
> playing audio ?
> which gstreamer element start thread ?
> 
> and another question,
> I can see the main function of rygel,
> rygel_main_run(), the function will call g_main_loop_run() to start loop.
> why there are 2 threads stated in main function?

Rygel itself only ever operates in a single (main) thread. However some
of the libraries we use spawn threads on their own:

GLib - One for GDBus; that's the two threads you see when Rygel is idle
(main thread + GLib DBus thread)

GStreamer - A lot while decoding and encoding 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]