📄 readme
字号:
This is an attempt to test a thread enabled nsd. The script junk_test.sh 1) Launches nsd 2) Launches micod 3) Registers a server, junk_server that generates unique numbers for assign names to NamingContexts. junk_server can also be used to create objects that can be inserted into NamingContexts (a separate test). 4) Launches 4 copies of junk_client_2 that randomly create and destroy NamingContexts within the nsd. These clients print a message when OBJECT_NOT_EXIST or CosNaming::NamingContext::NotFound are thrown. We believe that these occur when the clients are working on the same branches of the tree and one client destroys a NamingContext and another client does a list before the 1st client can unbind the NamingContext.nsd is launched with a persistent db defined. If the lines rm nsd.dbrm db/*lines are removed from junk_test.sh, sequential runs of the script will build on the same tree.Aside effect of this test is shows that junk_client_2 has a memory leak. Wecouldn't find the cause of the leak.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -