I’m new to QNX API’s and I really need some help. I dont understand the use of “pthread_attr_t”. I saw a lot of sample programs for instance:
pthread_create(NULL, &attr, &somefunction, NULL);
I undrstand that the programmer wants to initialize the attribute of that particular thread but by simply writing the following:
what attr is initialized to? and what is pthread_attr_t really ?