You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gu...@apache.org on 2021/07/29 17:44:15 UTC
[incubator-nuttx] branch master updated:
libc/pthread_barrierattr_destory.c: Destroy shouldn't reinitialize the
attributes.
This is an automated email from the ASF dual-hosted git repository.
gustavonihei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 9b4e448 libc/pthread_barrierattr_destory.c: Destroy shouldn't reinitialize the attributes.
9b4e448 is described below
commit 9b4e44842e0edd99cee2391a7209a2e2758c0a42
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Wed Jul 28 17:17:08 2021 +0200
libc/pthread_barrierattr_destory.c: Destroy shouldn't reinitialize the
attributes.
Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
libs/libc/pthread/pthread_barrierattr_destroy.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/libs/libc/pthread/pthread_barrierattr_destroy.c b/libs/libc/pthread/pthread_barrierattr_destroy.c
index 9b25f5f..95e0d57 100644
--- a/libs/libc/pthread/pthread_barrierattr_destroy.c
+++ b/libs/libc/pthread/pthread_barrierattr_destroy.c
@@ -59,10 +59,6 @@ int pthread_barrierattr_destroy(FAR pthread_barrierattr_t *attr)
{
ret = EINVAL;
}
- else
- {
- attr->pshared = PTHREAD_PROCESS_PRIVATE;
- }
return ret;
}