RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Files | Data Structures | Macros | Enumerations | Functions
spec:/rtems/userext/val/userext

Tests the thread user extensions. More...

Files

file  tc-userext.c
 

Data Structures

struct  ExtensionEvent
 

Macros

#define DEFINE_EXTENSIONS(index, linkage)
 
#define DEFINE_EXTENSIONS_AND_TABLE(index)
 

Enumerations

enum  ExtensionKind {
  THREAD_BEGIN , THREAD_CREATE , THREAD_DELETE , THREAD_EXITTED ,
  THREAD_RESTART , THREAD_START , THREAD_SWITCH , THREAD_TERMINATE ,
  EXTENSION_KIND_COUNT
}
 

Functions

 DEFINE_EXTENSIONS_AND_TABLE (2)
 
 DEFINE_EXTENSIONS_AND_TABLE (3)
 
 DEFINE_EXTENSIONS_AND_TABLE (4)
 
 DEFINE_EXTENSIONS_AND_TABLE (5)
 
 DEFINE_EXTENSIONS_AND_TABLE (6)
 
void * IdleBody (uintptr_t arg)
 
 T_TEST_CASE_FIXTURE (RtemsUserextValUserext, &RtemsUserextValUserext_Fixture)
 

Detailed Description

Tests the thread user extensions.

This test case performs the following actions:

Macro Definition Documentation

◆ DEFINE_EXTENSIONS_AND_TABLE

#define DEFINE_EXTENSIONS_AND_TABLE (   index)
Value:
DEFINE_EXTENSIONS( index, static ) \
static const rtems_extensions_table table_##index = { \
.thread_begin = ThreadBeginExtension##index, \
.thread_create = ThreadCreateExtension##index, \
.thread_delete = ThreadDeleteExtension##index, \
.thread_exitted = ThreadExittedExtension##index, \
.thread_restart = ThreadRestartExtension##index, \
.thread_start = ThreadStartExtension##index, \
.thread_switch = ThreadSwitchExtension##index, \
.thread_terminate = ThreadTerminateExtension##index \
}
User extension table.
Definition: userext.h:253