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!

For the most part they’re nuttx tasks.

A bit more information here.
Search for threads and work queues.

1 Like