Commit Graph
18 Commits
Author SHA1 Message Date
Lorenz Meier b170467a1d HRT thread: Set thread name 2015-12-01 12:04:53 +01:00
Lorenz Meier 79a030ec50 Work threads: Ensure they have proper names 2015-12-01 12:04:34 +01:00
Lorenz Meier f6a6c41af5 POSIX: More Travis compile fixes 2015-11-22 15:30:36 +01:00
Lorenz Meier c003305472 HRT thread: Fix style 2015-11-22 14:01:52 +01:00
Lorenz Meier 0a883fd11d HRT thread: Do not make implicit assumptions about struct members 2015-11-22 14:01:52 +01:00
Lorenz Meier 3af906b9a8 Ensure g_hrt_work is zero-initialized 2015-11-22 14:01:52 +01:00
Lorenz Meier d60f201dc8 POSIX: Fix formatting 2015-10-19 13:35:46 +02:00
Mark Charlebois 8e82ced5a4 Added backtrace function
Added PX4_BACKTRACE() to display stack trace for debugging

Added backtrace for HRT reschedule with 0 timeout

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-10-19 09:41:49 +02:00
Mark Charlebois 300932bde3 QuRT: fixes to unbreak cmake build for QuRT
Updated DSPAL version.
Fixed missing lib in config.
Fixed heafers for missing timespec definition.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-24 15:16:00 -07:00
Lorenz Meier e2332281ad Work queue: Add required POSIX header 2015-09-20 10:58:45 +02:00
Lorenz Meier c1c235edb2 Merge branch 'cmake-2' into cmake-2-pthread 2015-09-20 10:34:03 +02:00
Lorenz Meier 6ef94e0dfb Merged master into cmake-2 2015-09-20 10:33:39 +02:00
Lorenz Meier d73deabf5c Work queues: Move to POSIX semaphore abstraction 2015-09-20 00:27:28 +02:00
Mark Charlebois 3a2e064c92 Fixed error due to set but unused variable
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-16 15:58:15 -07:00
Mark Charlebois 7d2ba97511 Fixed poll timeout bug
The SIGCONT signal was being ignored by the HRT queue thread so the
usleep was not waking up early to process new work.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-09-16 15:24:58 -07:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Mark Charlebois c1317ad463 POSIX: code format changes
Changed the code format of the files derived from NuttX to match the code
style of PX4.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-30 17:19:55 -07:00
Mark Charlebois a96db1580f Platform cleanup - remove duplicate files
The POSIX and QURT platforms contain several duplicate files.
These files have been factored out into platforms/posix/work_queue.
The config files have been updated to include the
platforms/posix/work_queue module.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-28 20:08:50 -07:00