Xenomai  3.2.4
rttst_swtest_dir Struct Reference

parameter for the RTTST_RTIOC_SWTEST_SWITCH_TO syscall More...

#include <testing.h>

Data Fields

unsigned int from
 Index of the thread that should be replaced.
 
unsigned int to
 Index of the thread that should run.
 
unsigned int switch_mode
 If the mode should be switched: 0 for no switch, 1 for switch.
 

Detailed Description

parameter for the RTTST_RTIOC_SWTEST_SWITCH_TO syscall

This structure is used to tell the RTTST_RTIOC_SWTEST_SWITCH_TO syscall which threads should be exchanged and if the mode (primary/secondary) of the from thread should be switched.


The documentation for this struct was generated from the following file: