szafonimateusz-mi opened a new pull request, #17129:
URL: https://github.com/apache/nuttx/pull/17129

   ## Summary
   
   When key is deleted, its value should also be reset.
   
   This fixes the pthread_getspecific.c test case from PSE52 Open Group Threads 
Test Suite.
   
   ## Impact
   
   POSIX compliance
   
   ## Testing
   
   PSE52 test suit.
   
   The test looks like this:
   ```
   pthread_key K
   pthread_key_create(K)         // create key
   pthread_setspecific(K, xxx)   // set key value
   pthread_key_delete(K)         // delete key value
   pthread_getspecific(K)        // get the value of previously deleted key. 
                                 // This should return NULL, but currently in 
NuttX it returns the value previously stored in the key
   ```


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