You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/28 19:14:23 UTC

[GitHub] [incubator-nuttx] Ouss4 commented on pull request #4246: libc/pthread_barrierattr_destory.c: Destroy shouldn't reinitialize the attributes

Ouss4 commented on pull request #4246:
URL: https://github.com/apache/incubator-nuttx/pull/4246#issuecomment-888554822


   I don't know how any of this is related to this PR.
   
   > So pthread_barrierattr_destroy should simply return 0, which is the same behavior from other implementations:
   
   The current implementation returns just 0.  Return `EINVAL` for these situations is common and is part of the standard.
   
   I did see the glibc code before, that just returns 0, but we should not just take that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org