mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-04-10 02:02:21 +02:00
I'm an idiot. I put ifndef __darwin__ when I meant ifdef. Works on linux now with minimal CPU.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1070 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
ae4a52e0ed
commit
9ff624bc0f
@ -76,18 +76,19 @@
|
|||||||
#define MAX_NUMBER_OF_TASKS ( _POSIX_THREAD_THREADS_MAX )
|
#define MAX_NUMBER_OF_TASKS ( _POSIX_THREAD_THREADS_MAX )
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef __DARWIN__
|
#ifdef __DARWIN__
|
||||||
#define COND_SIGNALING
|
#define COND_SIGNALING
|
||||||
#define CHECK_TASK_RESUMES
|
#define CHECK_TASK_RESUMES
|
||||||
#define RUNNING_THREAD_MUTEX
|
#define RUNNING_THREAD_MUTEX
|
||||||
#define TICK_SIGNAL
|
#define TICK_SIGNAL
|
||||||
|
#error Here
|
||||||
#endif
|
#endif
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
#define COND_SIGNALING
|
#define COND_SIGNALING
|
||||||
#define CHECK_TASK_RESUMES
|
#define CHECK_TASK_RESUMES
|
||||||
|
#error Here too
|
||||||
#endif
|
#endif
|
||||||
#ifdef linux
|
#ifdef __linux__
|
||||||
#define COND_SIGNALING
|
|
||||||
#define CHECK_TASK_RESUMES
|
#define CHECK_TASK_RESUMES
|
||||||
#define RUNNING_THREAD_MUTEX
|
#define RUNNING_THREAD_MUTEX
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user