Can use fork and execl in gstream program
Sebastian Dröge
sebastian at centricular.com
Tue Oct 29 09:21:35 CET 2013
On Di, 2013-10-29 at 14:26 +0800, sung descent wrote:
> Hi,
>
> I read the artcile:
> http://www.linuxprogrammingblog.com/threads-and-fork-think-twice-before-using-them
>
> I find the gstream will generate 8 thread in my system when play a video
> file.
> Can I use fork and execl to run a command?
Yes, but just fork() and continuing in the child process without
replacing the executable code to some other binary will not work (in
general).
--
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131029/33f18771/attachment.pgp>
More information about the gstreamer-devel
mailing list