readme

来自「MICO2.3.13 corba 环境平台」· 代码 · 共 25 行

TXT
25
字号
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 + =
减小字号Ctrl + -
显示快捷键?