⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用于网络游戏医学图像网关的高qos要求.更详细的内容可阅读相应的材料
💻
字号:
This example is a very simple example, showing how to use the Kokyu
dispatcher to dispatch command objects in a EDF manner. The test
configures the Kokyu dispatcher with a single EDF lane. Typically this
would be done by an EDF scheduler which assigns priorities to tasks
based on the deadlines for tasks. To ensure that the command objects
enqueued in the dispatcher are dispatched in the correct order, we
enqueue the command objects and *then* activate the dispatcher. Only
when the dispatcher is activated, the thread watching each dispatch
queue starts running.

To run this example, 

./test -p<fifo|rr|other>

The following is the expected output

Deadline of command1 is 1065966081
Deadline of command2 is 1065966131
Deadline of command3 is 1065966031
command 3 executed
command 1 executed
command 2 executed

Note that the deadlines are absolute deadlines.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -