git-svn-id: http://www.frescor.org/private/svn/frescor/fosa/trunk@1401
35b4ef3e-fd22-0410-ab77-
dab3279adceb
if (ret_value==0) {
// set the default values
if (ret_value==0) {
// set the default values
- // detachstate = detached thread (no join operation allowed)
- CHK(pthread_attr_setdetachstate(attr,PTHREAD_CREATE_DETACHED));
// inheritsched = explicit, so that we can explicitly set the attributes
CHK(pthread_attr_setinheritsched(attr,PTHREAD_EXPLICIT_SCHED));
// inheritsched = explicit, so that we can explicitly set the attributes
CHK(pthread_attr_setinheritsched(attr,PTHREAD_EXPLICIT_SCHED));