4 * Multi-purpose structures and defines for robots.
6 * Copyright: (c) 2008 CTU Dragons
7 * CTU FEE - Department of Control Engineering
27 #define SET_THREAD_PRIORITY(tid,prio) \
29 pthread_attr_t tattr; \
30 pthread_attr_init (&tattr); \
31 pthread_attr_getschedparam (&tattr, ¶m); \
32 param.sched_priority = prio;\
33 pthread_attr_setschedparam (&tattr, ¶m);
35 #endif /* ROBODATA_H */