]> begriffs open source - freertos/commit
POSIX Port: Remove pthread_attr_setstacksize call (#1161)
authorPaul Hollinsky <paulhollinsky@gmail.com>
Thu, 24 Oct 2024 06:42:27 +0000 (23:42 -0700)
committerGitHub <noreply@github.com>
Thu, 24 Oct 2024 06:42:27 +0000 (12:12 +0530)
commit7215c89aa81501f60af8df68dfa99fc2c118a293
treec94ee97371a0f9862dd065549c9c1a9a9af2ef7a
parent7081e76f5a781f3b143d2e2f478292c52e14d6dc
POSIX Port: Remove pthread_attr_setstacksize call (#1161)

We have removed the use of pthread_attr_setstack and as a result,
the task stack is no longer used as the corresponding pthread's stack.
There is no use of calling pthread_attr_setstacksize as the default is
always good enough and we don't need to handle OS specific cases.

This PR simplifies the code by removing the call to pthread_attr_setstacksize.

Signed-off-by: Paul Hollinsky <paulhollinsky@gmail.com>
portable/ThirdParty/GCC/Posix/port.c