TNeo
BETA v1.08-11-g97e5a6d
|
Compatibility layer for old projects that use old TNKernel names; usage of them in new projects is discouraged.
If you're porting your existing application written for TNKernel, it might be useful though.
Included automatially if the option TN_OLD_TNKERNEL_NAMES
is set.
Definition in file tn_oldsymbols.h.
Go to the source code of this file.
Typedefs | |
typedef struct TN_ListItem | CDLL_QUEUE |
old TNKernel name of TN_ListItem | |
typedef struct TN_Mutex | TN_MUTEX |
old TNKernel name of TN_Mutex | |
typedef struct TN_DQueue | TN_DQUE |
old TNKernel name of TN_DQueue | |
typedef struct TN_Task | TN_TCB |
old TNKernel name of TN_Task | |
typedef struct TN_FMem | TN_FMP |
old TNKernel name of TN_FMem | |
typedef struct TN_Sem | TN_SEM |
old TNKernel name of TN_Sem | |
#define MAKE_ALIG TN_MAKE_ALIG |
old TNKernel name of TN_MAKE_ALIG
macro
TN_MAKE_ALIG_SIZE
macro instead of this one, in order to avoid confusion caused by various TNKernel ports: refer to the section Macro MAKE_ALIG() for details. Definition at line 144 of file tn_oldsymbols.h.
#define TN_EVENT_ATTR_SINGLE TN_EVENTGRP_ATTR_SINGLE |
TN_OLD_EVENT_API
option is non-zero.Old name for TN_EVENTGRP_ATTR_SINGLE
,
Definition at line 356 of file tn_oldsymbols.h.
#define TN_EVENT_ATTR_MULTI TN_EVENTGRP_ATTR_MULTI |
TN_OLD_EVENT_API
option is non-zero.Old name for TN_EVENTGRP_ATTR_MULTI
,
Definition at line 362 of file tn_oldsymbols.h.
#define TN_EVENT_ATTR_CLR TN_EVENTGRP_ATTR_CLR |
TN_OLD_EVENT_API
option is non-zero.Old name for TN_EVENTGRP_ATTR_CLR
,
Definition at line 368 of file tn_oldsymbols.h.
#define tn_event_create | ( | ev, | |
attr, | |||
pattern | |||
) | tn_eventgrp_create_wattr((ev), (enum TN_EGrpAttr)(attr), (pattern)) |
TN_OLD_EVENT_API
option is non-zero.Old name for tn_eventgrp_create_wattr()
,
Definition at line 374 of file tn_oldsymbols.h.
#define tn_event_delete tn_eventgrp_delete |
TN_OLD_EVENT_API
option is non-zero.Old name for tn_eventgrp_delete()
,
Definition at line 381 of file tn_oldsymbols.h.
#define tn_event_wait tn_eventgrp_wait |
TN_OLD_EVENT_API
option is non-zero.Old name for tn_eventgrp_wait()
,
Definition at line 387 of file tn_oldsymbols.h.
#define tn_event_wait_polling tn_eventgrp_wait_polling |
TN_OLD_EVENT_API
option is non-zero.Old name for tn_eventgrp_wait_polling()
,
Definition at line 393 of file tn_oldsymbols.h.
#define tn_event_iwait tn_eventgrp_iwait_polling |
TN_OLD_EVENT_API
option is non-zero.Old name for tn_eventgrp_iwait_polling()
,
Definition at line 399 of file tn_oldsymbols.h.
#define tn_event_set | ( | ev, | |
pattern | |||
) | tn_eventgrp_modify ((ev), TN_EVENTGRP_OP_SET, (pattern)) |
TN_OLD_EVENT_API
option is non-zero.Old TNKernel-compatible way of calling tn_eventgrp_modify (event, TN_EVENTGRP_OP_SET, pattern)
Definition at line 406 of file tn_oldsymbols.h.
#define tn_event_iset | ( | ev, | |
pattern | |||
) | tn_eventgrp_imodify((ev), TN_EVENTGRP_OP_SET, (pattern)) |
TN_OLD_EVENT_API
option is non-zero.Old TNKernel-compatible way of calling tn_eventgrp_imodify (event, TN_EVENTGRP_OP_SET, pattern)
Definition at line 413 of file tn_oldsymbols.h.
#define tn_event_clear | ( | ev, | |
pattern | |||
) | tn_eventgrp_modify ((ev), TN_EVENTGRP_OP_CLEAR, (~(pattern))) |
TN_OLD_EVENT_API
option is non-zero.Old TNKernel-compatible way of calling tn_eventgrp_modify (event, TN_EVENTGRP_OP_CLEAR, (~pattern))
tn_eventgrp_modify()
, the pattern should be inverted! Definition at line 422 of file tn_oldsymbols.h.
#define tn_event_iclear | ( | ev, | |
pattern | |||
) | tn_eventgrp_imodify((ev), TN_EVENTGRP_OP_CLEAR, (~(pattern))) |
TN_OLD_EVENT_API
option is non-zero.Old TNKernel-compatible way of calling tn_eventgrp_imodify (event, TN_EVENTGRP_OP_CLEAR, (~pattern))
tn_eventgrp_modify()
, the pattern should be inverted! Definition at line 431 of file tn_oldsymbols.h.