source: rtems/testsuites/psxtests/psxkey05/psxkey05.scn @ 9a4eca5

5
Last change on this file since 9a4eca5 was 01f23374, checked in by Christian Mauderer <Christian.Mauderer@…>, on 03/21/14 at 11:07:27

posix: Prevent pthread_setspecific from returning EAGAIN.

The man-page for pthread_setspecific does not define the EAGAIN return value.
Further without this patch it was not possible to set keys that have been
already set a new value.

Add test for setting a new value to a already set key.

  • Property mode set to 100644
File size: 479 bytes
Line 
1sparc-rtems4.11-run is /home/joel/rtems-4.11-work/tools/bin/sparc-rtems4.11-run
2
3
4*** TEST KEY 05 ***
5Init - pthread key1 create - OK
6Init - pthread key2 create - OK
7Init - key1 pthread_setspecific - OK
8Init - key2 pthread_setspecific - OK
9Init - key1 pthread_getspecific - OK
10Init - key2 pthread_getspecific - OK
11Init - key1 pthread_setspecific - OK
12Init - key1 pthread_getspecific - OK
13Init - pthread key1 delete - OK
14Init - pthread key2 delete - OK
15*** END OF TEST KEY 05 ***
Note: See TracBrowser for help on using the repository browser.