18#ifndef _TRANK_INTERNAL_H
19#define _TRANK_INTERNAL_H
24#include <xeno_config.h>
27 timer_t periodic_timer;
31extern __thread __attribute__ ((tls_model (CONFIG_XENO_TLS_MODEL)))
32struct trank_context trank_context;
34static inline struct trank_context *trank_get_context(
void)
36 return &trank_context;
41extern pthread_key_t trank_context_key;
43static inline struct trank_context *trank_get_context(
void)
45 return pthread_getspecific(trank_context_key);
50int trank_init_interface(
void);
52extern sigset_t trank_sigperiod_set;