About scheduler entry point add_processor
Richi Dubey
richidubey at gmail.com
Mon Mar 29 07:05:53 UTC 2021
Thanks for the help.
On Sat, Mar 27, 2021 at 8:07 PM Gedare Bloom <gedare at rtems.org> wrote:
> On Thu, Mar 25, 2021 at 11:11 PM Richi Dubey <richidubey at gmail.com> wrote:
> >
> > Hi,
> >
> > I remember reading somewhere that the add_processor function is only
> used when a processor is explicitly added during runtime of an application
> :p, Is that correct?Please let me know which test tests/uses this function.
> >
>
> cd ~/rtems/rtems/testsuites$ grep -r add_processor
> smptests/smpirqs01/init.c: sc =
> rtems_scheduler_add_processor(scheduler_id, 1);
> smptests/smpscheduler04/init.c: sc = rtems_scheduler_add_processor(
> smptests/smpscheduler04/smpscheduler04.doc: -
> rtems_scheduler_add_processor()
> smptests/smpthreadpin01/init.c: sc =
> rtems_scheduler_add_processor(ctx->sched_b, 1);
> smptests/smpscheduler02/init.c: sc =
> rtems_scheduler_add_processor(scheduler_c_id, 62);
> smptests/smpscheduler02/init.c: sc =
> rtems_scheduler_add_processor(scheduler_c_id, 63);
> smptests/smpscheduler02/init.c: sc =
> rtems_scheduler_add_processor(scheduler_a_id, 1);
> smptests/smpscheduler02/init.c: sc =
> rtems_scheduler_add_processor(scheduler_a_id, 0);
> smptests/smpscheduler02/init.c: sc =
> rtems_scheduler_add_processor(scheduler_b_id, 1);
> sptests/spscheduler01/init.c: sc =
> rtems_scheduler_add_processor(invalid_id, 0);
> sptests/spscheduler01/init.c: sc =
> rtems_scheduler_add_processor(scheduler_id, 1);
> sptests/spscheduler01/init.c: sc =
> rtems_scheduler_add_processor(scheduler_id, 0);
>
> I guess you should start with one of those.
>
> > Thanks.
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210329/daeb889b/attachment.html>
More information about the devel
mailing list