Re: Can printf() be made SMP safe?

2021-05-13 Thread Dave DeGroote
each task status = rtems_task_set_scheduler(tid1, scheduler_a_id, 80); if (status!=RTEMS_SUCCESSFUL) printf ("status5=%s (%x)\n", rtems_status_text(status), status); status = rtems_task_set_scheduler(tid2, scheduler_b_id, 80); if (status!=RTEMS_SUCCESSFUL) printf ("statu

Re: Can printf() be made SMP safe?

2021-04-30 Thread Dave DeGroote
67670 <_Thread_Entry_adaptor_numeric+0x8> #15 0x60055878 0x604676d0 <_Thread_Handler+0xf4> #16 0x60055784 0x60467738 <_Thread_Handler+0> From: Joel Sherrill Sent: Friday, April 30, 2021 4:21 PM To: Dave DeGroote Cc: users@rtems.org Subject: Re

Can printf() be made SMP safe?

2021-04-30 Thread Dave DeGroote
utex_init() and rtems_binary_semaphore_init() which I don't think are SMP safe (but I'm also new to this so I'm not sure). Thanks! [Astrobotic Logo] Dave DeGroote Flight Software Engineer Astrobotic 1016 N. Lincoln Avenue | Pittsburgh, PA 15233 office: 412.682.3282 Disclaimer The