Wayne Thornton commented on a discussion on cpukit/dhrl/dhrl.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_148417 > + > + // Initialize Worker B > + sc = rtems_task_create( > + rtems_build_name( 'D', 'H', 'R', 'B' ), > + priority, > + RTEMS_MINIMUM_STACK_SIZE, > + RTEMS_DEFAULT_MODES, > + RTEMS_DEFAULT_ATTRIBUTES, > + &dhrl_worker_b_id > + ); > + if ( sc != RTEMS_SUCCESSFUL ) { > + return sc; > + } > + > + CPU_ZERO( &cpuset ); > + CPU_SET( core_b, &cpuset ); The dhrl_init function checks the return code of rtems_task_set_affinity and will safely abort if the scheduler fails to apply the CPU mask. Do you recall which specific SMP scheduler algorithm might be missing the operation so I can ensure my test suite catches that edge case? -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1193#note_148417 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
