Thank you, Tim! I also found an example here: https://github.com/apache/incubator-nuttx-apps/blob/0f68fb7075f2ca465648008e4df249d94a2960f3/testing/ostest/suspend.c <https://github.com/apache/incubator-nuttx-apps/blob/0f68fb7075f2ca465648008e4df249d94a2960f3/testing/ostest/suspend.c>
Swapna Iyer [email protected] > Begin forwarded message: > > From: "Tim" <[email protected]> > Subject: RE: Control Task #2 from Task #1 > Date: December 10, 2021 at 3:09:09 AM PST > To: <[email protected]> > Reply-To: [email protected] > > My POSIX knowledge is still somewhat limited, but I believe it's this: > > https://nuttx.apache.org/docs/latest/reference/user/07_signals.html > >> -----Original Message----- >> From: Swapna Iyer <[email protected]> >> Sent: 09 December 2021 17:25 >> >> Is there any example I can look at? >> >> Swapna Iyer >> [email protected] >> >> >> >>> On Dec 7, 2021, at 11:37 AM, Swapna Iyer <[email protected]> wrote: >>> >>> Hi, >>> >>> How can I enable a Nuttx task (task #1) to control another Nuttx task > (task #2)? >> In FreeRTOS, I was able to use task_suspend(task_handle of task #2) and >> task_resume(task_handle of task #2) from task #1 to control task #2. >>> >>> How can I best do this in Nuttx? >>> >>> Best, >>> >>> Swapna Iyer >>> [email protected] >>> >>> >>> > >
