readme
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· 代码 · 共 45 行
TXT
45 行
README,v 1.4 2001/09/18 00:06:04 irfan Exp
Description:
Test combines and tests several RT policies in different ways.
- The IDL interface has two methods: method() and
prioritized_method().
- The client sets its thread to the default priority, calls method()
which returns a priority. If the priority returned is different
from <TAO_INVALID_PRIORITY>, the client sets its thread to the
priority returned by the server and calls prioritized_method()
- The servant returns the <client_priority_> member in method(). In
prioritized_method(), it makes sure that the thread running the
upcall is at priority <server_priority_>. These two members allow
several different policies to be tested with the same code.
- In addition to testing servants in the RootPOA and in a simple child
POA, the following policy combinations are tested in this example:
________________________________________________________________________________
Thread-pool BANDS PRIORITY MODEL Client Priority Server Priority
________________________________________________________________________________
Default Pool NO CLIENT_PROPAGATED 3 3
Default Pool NO SERVER_DECLARED 3 5
Without Lanes NO CLIENT_PROPAGATED 1 1
Without Lanes NO SERVER_DECLARED 1 5
With Lanes NO CLIENT_PROPAGATED 2 2
With Lanes NO SERVER_DECLARED 3 5
Default Pool YES CLIENT_PROPAGATED 3 3
Default Pool YES SERVER_DECLARED 1 5
Without Lanes YES CLIENT_PROPAGATED 1 1
Without Lanes YES SERVER_DECLARED 3 5
With Lanes YES CLIENT_PROPAGATED 3 2
With Lanes YES SERVER_DECLARED 1 5
where the priorities are relative to the minimum priority of the
thread scheduling policy used for the test.
- This test uses the -ORBPriorityMapping continuous option.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?