mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 01:23:34 +08:00
px4_sem: use px4_sem on all POSIX system
This uses the "fake" px4_sem based on mutex and condition_variable on all POSIX system, not just macOS and Cygwin. This means that we can change px4_sem_timedwait under the hood and inject the simulated time.
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
#define sem_setprotocol(s,p)
|
||||
#endif
|
||||
|
||||
#if defined(__PX4_DARWIN) || defined(__PX4_CYGWIN)
|
||||
#if defined(__PX4_DARWIN) || defined(__PX4_CYGWIN) || defined(__PX4_POSIX)
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user