diff options
author | Christian Mauderer <Christian.Mauderer@embedded-brains.de> | 2014-03-21 12:07:27 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-24 08:31:49 +0100 |
commit | 01f2337432d6a0ac92a022161370955172bc95fc (patch) | |
tree | 7c4f5ec7ba02b7fc4ac188ef39cf4247f7189e4f /testsuites/psxtests/psxkey05/psxkey05.scn | |
parent | librpc: Use POSIX key instead of task variables (diff) | |
download | rtems-01f2337432d6a0ac92a022161370955172bc95fc.tar.bz2 |
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.
Diffstat (limited to 'testsuites/psxtests/psxkey05/psxkey05.scn')
-rw-r--r-- | testsuites/psxtests/psxkey05/psxkey05.scn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxkey05/psxkey05.scn b/testsuites/psxtests/psxkey05/psxkey05.scn index 89127af466..9956501387 100644 --- a/testsuites/psxtests/psxkey05/psxkey05.scn +++ b/testsuites/psxtests/psxkey05/psxkey05.scn @@ -8,6 +8,8 @@ Init - key1 pthread_setspecific - OK Init - key2 pthread_setspecific - OK Init - key1 pthread_getspecific - OK Init - key2 pthread_getspecific - OK +Init - key1 pthread_setspecific - OK +Init - key1 pthread_getspecific - OK Init - pthread key1 delete - OK Init - pthread key2 delete - OK *** END OF TEST KEY 05 *** |