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 Gallagher <g...@embeddedgreg.com> wrote: > 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 cause mode switches. Are you seeing both threads > drop to secondary mode? > > -Greg > > On Fri, Apr 6, 2018 at 1:01 PM, C Smith <csmithquesti...@gmail.com> wrote: > > 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 <g...@embeddedgreg.com> > > wrote: > >> > >> Do the tasks communicate with each other? > >> > >> -Greg > >> > >> On Fri, Apr 6, 2018 at 12:51 PM, C Smith <csmithquesti...@gmail.com> > >> 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 an xml document sent over ethernet which seems to > cause > >> > a > >> > switch to secondary mode. Would this also switch the other tasks we > are > >> > running to secondary mode, or is it isolated? > >> > > >> > We are running Xenomai 2.6.2 and Xenomai 2.6.5 in our application. > >> > _______________________________________________ > >> > Xenomai mailing list > >> > Xenomai@xenomai.org > >> > https://xenomai.org/mailman/listinfo/xenomai > > > > > _______________________________________________ Xenomai mailing list Xenomai@xenomai.org https://xenomai.org/mailman/listinfo/xenomai