diff options
author | Zhongwei Yao <ashi08104@gmail.com> | 2013-08-05 09:20:45 -0400 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-08-06 14:11:38 +0200 |
commit | b5c906429f6e67452eec1b0089ac7a204ff998ee (patch) | |
tree | 5e24aed5499922f6d3fa6e1559f5bc7e83fba4b2 /testsuites/psxtests/psxkey10/psxkey10.scn | |
parent | bsp/realview-pbx-a9: Enable fast idle clock (diff) | |
download | rtems-b5c906429f6e67452eec1b0089ac7a204ff998ee.tar.bz2 |
Unlimited objects support for POSIX keys
This patch enables unlimited model in POSIX key manger and have a decent
runtime on POSIX key searching, adding and deleting operations. Memory
overhead is lower than current implementation when the size of key and key
value becomes big.
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxkey10/psxkey10.scn | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxkey10/psxkey10.scn b/testsuites/psxtests/psxkey10/psxkey10.scn new file mode 100644 index 0000000000..98940e24ad --- /dev/null +++ b/testsuites/psxtests/psxkey10/psxkey10.scn @@ -0,0 +1,10 @@ + +*** TEST KEY 10 *** +Init - pthread key create with destructor - OK +Init - pthread create - OK +Init - sleep - let thread run - OK +Test_Thread - key pthread_setspecific - OK +Test_Thread - pthread key delete - OK +Test_Thread - pthread exit, but don't run key destructors - OK +Init - verify destructor did NOT run - OK +*** END OF TEST KEY 10 *** |