extinguish opened a new pull request, #17933:
URL: https://github.com/apache/nuttx/pull/17933

   ## Summary
   
   Add three POSIX‑required pthread‑related compile‑time constants to 
`<limits.h>`:
   ```
   _POSIX_THREAD_DESTRUCTOR_ITERATIONS = 4
   _POSIX_THREAD_KEYS_MAX = CONFIG_TLS_NELEM
   _POSIX_THREAD_THREADS_MAX = 64
   ```
   These constants define implementation limits for POSIX thread management and 
are required by standards‑conforming applications and test suites.
   
   ## Impact
   
   Improves POSIX pthread API compliance by providing the mandated compile‑time 
limit definitions.
   
   ## Testing
   
   Verified that code referencing _POSIX_THREAD_DESTRUCTOR_ITERATIONS, 
_POSIX_THREAD_KEYS_MAX, or _POSIX_THREAD_THREADS_MAX now compiles successfully.
   


-- 
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]

Reply via email to