On 04/07/2018 09:57 AM, Philippe Gerum wrote:
> On 04/06/2018 06:51 PM, C Smith wrote:
>> Hi all--
>>
>> Our real time application has a main rt_task which runs concurrently with
>> several other rt_tasks (spawned using rt_task_create) and we are concerned
>> about a context switch in one of the
On 04/06/2018 06:51 PM, C Smith wrote:
> Hi all--
>
> Our real time application has a main rt_task which runs concurrently with
> several other rt_tasks (spawned using rt_task_create) and we are concerned
> about a context switch in one of the tasks. The problematic task uses
> libxml2 to parse
@xenomai.org
Subject: Re: [Xenomai] Context switch to secondary mode in xenomai tasks
Check here:
https://xenomai.org/2014/08/porting-a-linux-application-to-xenomai-dual-kernel/#Chasing_the_unwanted_mode_switches
On Fri, Apr 6, 2018 at 1:39 PM, C Smith <csmithquesti...@gmail.com> wrote:
> Ho
Check here:
https://xenomai.org/2014/08/porting-a-linux-application-to-xenomai-dual-kernel/#Chasing_the_unwanted_mode_switches
On Fri, Apr 6, 2018 at 1:39 PM, C Smith wrote:
> How can we verify which tasks are switching to secondary mode? We know the
> xml parser
How can we verify which tasks are switching to secondary mode? We know the
xml parser definitely is switching to secondary mode, setting T_WARNSW,
causing the application to send the SIGXCPU signal, but we don't know if
it's affecting the other tasks.
On Fri, Apr 6, 2018 at 10:17 AM, Greg
If a tasks switches to secondary mode it would act like a normal Linux
thread. I haven't used Xenomai 2.6 in a while but if you are seeing
both tasks drop to secondary mode you may want to list the resources
that they are sharing and how you are sharing them and then we can see
if something would
The tasks manipulate shared data however they do not communicate directly.
The rt_task which parses the xml document and the main rt_task are running
periodically at different rates using rt_task_set_periodic.
On Fri, Apr 6, 2018 at 9:54 AM, Greg Gallagher
wrote:
> Do the
Do the tasks communicate with each other?
-Greg
On Fri, Apr 6, 2018 at 12:51 PM, C Smith wrote:
> Hi all--
>
> Our real time application has a main rt_task which runs concurrently with
> several other rt_tasks (spawned using rt_task_create) and we are concerned
>
Hi all--
Our real time application has a main rt_task which runs concurrently with
several other rt_tasks (spawned using rt_task_create) and we are concerned
about a context switch in one of the tasks. The problematic task uses
libxml2 to parse an xml document sent over ethernet which seems to