diff --git a/mtapi_c/include/embb/mtapi/c/mtapi.h b/mtapi_c/include/embb/mtapi/c/mtapi.h index 1165f65..a35f12e 100644 --- a/mtapi_c/include/embb/mtapi/c/mtapi.h +++ b/mtapi_c/include/embb/mtapi/c/mtapi.h @@ -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 */ diff --git a/mtapi_c/src/embb_mtapi_scheduler_t.h b/mtapi_c/src/embb_mtapi_scheduler_t.h index 9d9dfed..13d99a6 100644 --- a/mtapi_c/src/embb_mtapi_scheduler_t.h +++ b/mtapi_c/src/embb_mtapi_scheduler_t.h @@ -61,7 +61,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. diff --git a/mtapi_cpp/src/execution_policy.cc b/mtapi_cpp/src/execution_policy.cc index 2910340..025cfb0 100644 --- a/mtapi_cpp/src/execution_policy.cc +++ b/mtapi_cpp/src/execution_policy.cc @@ -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 {