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

   ## Summary
   
   Reorganize pthread‑related declarations to follow POSIX header‑placement 
requirements:
   1. Move pthread_kill() and pthread_sigmask() from <pthread.h> to <signal.h>, 
as these signal‑related functions belong in the signal header per POSIX.
   2. Relocate pthread type definitions (pthread_t, pthread_attr_t, 
pthread_mutex_t, etc.) from <pthread.h> to <sys/types.h>, aligning with POSIX 
type‑definition conventions.
   
   ## Impact
   
   1. Improves POSIX header‑layout compliance, enabling standards‑based 
applications and test suites (e.g., PSE52 VSX) to locate pthread declarations 
in the expected headers.
   2. No functional change—only the location of declarations is adjusted; all 
APIs remain available with the same semantics.
   
   ## Testing
   
   Verified that the moved functions (pthread_kill, pthread_sigmask) are still 
accessible when including <signal.h>.
   
   


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