Thread affinity

Michael Smith msmith at xiph.org
Mon Aug 1 09:10:22 PDT 2011


You'll need to create your own threads inside the plugin, and use
whatever thread affinity APIs are appropriate for your platform.
GStreamer has nothing to make this easier for you, like I said.

Mike


On Mon, Aug 1, 2011 at 12:29 AM, Vijayalakshmi Krishnamoorthy
<vijayalakshmi.krishnamoorthy11 at gmail.com> wrote:
> Thanks Mike. This is a plug-in developed by us. In this case, can you
> indicate how to have this thread affinity added to our plug-in?
> We would like to measure the performance of the plug-in with and
> without thread affinity to a core.
>
> Regards
> KV
>
> On Mon, Aug 1, 2011 at 12:30 PM, Michael Smith <msmith at xiph.org> wrote:
>>
>> No.
>>
>> If it's a plugin you control, you can add whatever thread affinity
>> stuff you want to it. GStreamer in general doesn't have this - and it
>> doesn't really make sense, since any given element might use any
>> number of threads - and gstreamer doesn't necessarily control all of
>> them.
>>
>> Mike
>>
>>
>> On Sun, Jul 31, 2011 at 11:11 PM, Vijayalakshmi Krishnamoorthy
>> <vijayalakshmi.krishnamoorthy11 at gmail.com> wrote:
>> > Hello,
>> >
>> >    Is there a gstreamer feature available where I can attach a plug-in
>> > to a
>> > particular core?
>> >
>> > Regards
>> > KV
>> > _______________________________________________
>> > gstreamer-devel mailing list
>> > gstreamer-devel at lists.freedesktop.org
>> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>> >
>> >
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


More information about the gstreamer-devel mailing list