zyfeier commented on PR #9199: URL: https://github.com/apache/nuttx/pull/9199#issuecomment-1539287938
> > @pkarashchenko please check the commit message, there are detailed info and link > > @xiaoxiang781216 I would recommend to change Linux specific links here to POSIX link, so there will be no further questions. Like https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_once.html with `` The [EINVAL] error is added as a ``may fail'' case for if either argument is invalid. ``. For example https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_detach.html states `Austin Group Interpretation 1003.1-2001 #142 is applied, removing the [ESRCH] error condition.` and `The [EINVAL] error for a non-joinable thread is removed; this condition results in undefined behavior.`, so I still have questions to this change. Also I need some more time to identify why do we have two version of `task_setcanceltype`, one in `libs/libc/sched/task_setcanceltype.c` another in `sched/task/task_setcanceltype.c` @pkarashchenko Although the POSIX Issue 7 standard removed the ESRCH error, glibc 2.37 still uses ESRCH. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
