[ANNOUNCE] Apache NuttX 12.0.0 released

2023-01-16 Thread Alin Jerpelea
The Apache NuttX project team is proud to announce Apache NuttX 12.0.0 has been released. The release artifacts and Release Notes can be found at:https://nuttx.apache.org/download/https://nuttx.apache.org/releases/12.0.0/ Thanks, Alin Jerpelea on behalf of Apache NuttX PPMC

Add support for an LTE driver on NuttX #8147

2023-01-16 Thread Rodrigo Teixeira
I need to add support for a Quectel BG770A modem.After looking at this commit , I realized that NuttX has native code that handles some kind of modems, not requiring the creation of a driver from scratch. But, maybe it

Re: How to automatically kill all children threads when the main thread die

2023-01-16 Thread Xiang Xiao
no, we can iterate all processes through proc/xxx and call getppid to decide whether to kill it. On Mon, Jan 16, 2023 at 9:48 PM Gregory Nutt wrote: > > But nuttx doesn't support task sesion/group yet, so the simple > solution is extend kill command instead. > > Wouldn't you have to introduce a

Re: How to automatically kill all children threads when the main thread die

2023-01-16 Thread Gregory Nutt
> But nuttx doesn't support task sesion/group yet, so the simple solution is extend kill command instead. Wouldn't you have to introduce a non-standard interface behavior to that? I would think you would want to avoid that. > In fact, I was citing threads, but all children were tasks created

Re: How to automatically kill all children threads when the main thread die

2023-01-16 Thread Alan C. Assis
Thank you Greg and Xiang Xiao, In fact, I was citing threads, but all children were tasks created this way: ret = task_create("child1_daemon", 100, 4096, child1_daemon, NULL); I will change it to pthread and I think it will work with those suggestions you guys gave me. BR, Alan On 1/16/23, Xi