Xenomai  3.0.8
thread_info.h
1 
19 #ifndef _COBALT_IPIPE_THREAD_INFO_H
20 #define _COBALT_IPIPE_THREAD_INFO_H
21 
22 struct xnthread;
23 struct cobalt_process;
24 
25 struct ipipe_threadinfo {
26  /* Core thread backlink. */
27  struct xnthread *thread;
28  /* User process backlink. NULL for core threads. */
29  struct cobalt_process *process;
30 };
31 
32 static inline void __ipipe_init_threadinfo(struct ipipe_threadinfo *p)
33 {
34  p->thread = NULL;
35  p->process = NULL;
36 }
37 
38 #endif /* !_COBALT_IPIPE_THREAD_INFO_H */