libc/pthread_barrierattr_destory.c: Destroy shouldn't reinitialize the
attributes. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
98e7776714
commit
9b4e44842e
@ -59,10 +59,6 @@ int pthread_barrierattr_destroy(FAR pthread_barrierattr_t *attr)
|
|||||||
{
|
{
|
||||||
ret = EINVAL;
|
ret = EINVAL;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
attr->pshared = PTHREAD_PROCESS_PRIVATE;
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user