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
swa...@lightmatter.co



> Begin forwarded message:
> 
> From: "Tim" <t...@jti.uk.com.INVALID>
> Subject: RE: Control Task #2 from Task #1
> Date: December 10, 2021 at 3:09:09 AM PST
> To: <dev@nuttx.apache.org>
> Reply-To: dev@nuttx.apache.org
> 
> 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 <swa...@lightmatter.co.INVALID>
>> Sent: 09 December 2021 17:25
>> 
>> Is there any example I can look at?
>> 
>> Swapna Iyer
>> swa...@lightmatter.co
>> 
>> 
>> 
>>> On Dec 7, 2021, at 11:37 AM, Swapna Iyer <swa...@lightmatter.co> 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
>>> swa...@lightmatter.co
>>> 
>>> 
>>> 
> 
> 

Reply via email to