Commit b7d0a2cf by Tobias Langer

Fixed wrong compile flag name.

parent 71ffb4ee
......@@ -698,10 +698,10 @@ enum mtapi_node_attributes_enum {
#define MTAPI_NODE_REUSE_MAIN_THREAD_SIZE sizeof(mtapi_boolean_t)
/** size of the \a MTAPI_NODE_WORKER_PRIORITIES attribute */
#define MTAPI_NODE_WORKER_PRIORITIES_SIZE 0
#ifdef EMBB_MTAPI_HARD_REALTIME
#ifdef EMBB_HARD_REALTIME
/** size of the \a MTAPI_NODE_SCHEDULER_MODE attribute */
#define MTAPI_NODE_SCHEDULER_MODE sizeof(embb_mtapi_scheduler_mode_t)
#endif /*EMBB_MTAPI_HARD_REALTIME*/
#endif /*EMBB_HARD_REALTIME*/
/* example attribute value */
......
......@@ -62,7 +62,7 @@ enum embb_mtapi_scheduler_mode_enum {
WORK_STEAL_LF = 1,
NUM_SCHEDULER_MODES
};
#endif /*EMBB_MTAPI_HARD_REALTIME*/
#endif /*EMBB_HARD_REALTIME*/
/**
* Scheduler mode type.
......
......@@ -35,7 +35,7 @@ namespace mtapi {
ExecutionPolicy::ExecutionPolicy() :
priority_(DefaultPriority)
#ifdef MTAPI_HARD_REALTIME
#ifdef EMBB_HARD_REALTIME
, deadline_(DefaultDeadline)
#endif
{
......@@ -52,7 +52,7 @@ ExecutionPolicy::ExecutionPolicy() :
ExecutionPolicy::ExecutionPolicy(bool initial_affinity, mtapi_uint_t priority)
:priority_(priority)
#ifdef MTAPI_HARD_REALTIME
#ifdef EMBB_HARD_REALTIME
, deadline_(DefaultDeadline)
#endif
{
......@@ -70,7 +70,7 @@ ExecutionPolicy::ExecutionPolicy(bool initial_affinity, mtapi_uint_t priority)
ExecutionPolicy::ExecutionPolicy(mtapi_uint_t priority)
:priority_(priority)
#ifdef MTAPI_HARD_REALTIME
#ifdef EMBB_HARD_REALTIME
, deadline_(DefaultDeadline)
#endif
{
......@@ -102,7 +102,7 @@ ExecutionPolicy::ExecutionPolicy(mtapi_uint64_t deadline)
ExecutionPolicy::ExecutionPolicy(bool initial_affinity)
:priority_(DefaultPriority)
#ifdef MTAPI_HARD_REALTIME
#ifdef EMBB_HARD_REALTIME
, deadline_(DefaultDeadline)
#endif
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment