Is a module a thread or a process?

Hello everyone,

I would like to understand how a module is executed in PX4. Do modules run on separate threads or separate processes? If I would have to guess, I would say that using uORB means that they have shared memory, hence threads (whereas separate processes would mean separate memory).
I am rather new to PX4 and I would like to make sure i have the picture. Thanks!

Don’t forget to smile!
Arta

For the most part they’re nuttx tasks. http://nuttx.org/doku.php?id=wiki:nxinternal:tasksnthreads

A bit more information here. http://dev.px4.io/en/concept/architecture.html
Search for threads and work queues.

1 Like