You can use the pthread_attr_t to change attributes on your thread, such as priority, scheduling type (fifo,RR,sporadic) etc
look at the pthread_atttr * functions in the helpviewer
pthread_attr_t is typedef’d in /usr/include/pthread.h as __PTHREAD_ATTR_T,
__PTHREAD_ATTR_T is defined in /usr/include/sys/target_nto.h, which is a
“struct _thread_attr”.
tamayo - it is setup to system defaults. If you read each of the attribute manipulation functions it will tell you the defaults. From the point-of-view of the user, the structure is opaque - you don’t know what is inside of it.