使用 CommonAPI 编写服务器时C++服务器进程中创建了多少个线程?
How many threads are created in server process when writing a server using C++ CommonAPI?
我使用通用 API (https://docs.projects.genivi.org/ipc.common-api-tools/3.1.3/html/CommonAPICppUserGuide.html( 编写了一个服务。在内部,我的commonAPI使用Dbus。该服务提供2 种方法和 1 种选择性广播。当我运行该服务时,我可以看到为该服务创建了7 个线程。 我已经浏览了 commonAPI 用户指南的某些部分,但无法了解创建的线程数背后的概念。 所以我的查询是:
如何确定由于 commonAPI 创建的线程数?这是否取决于连接到服务的客户端数量?它是否取决于方法的数量,服务接口中的广播?
如果其他人对此感兴趣,您可以使用 vsomeip.json 配置文件中的 num_dispatchers 选项设置线程数。
看这里: https://docs.projects.genivi.org/vSomeIP/2.0.1/html/README.html#_configuration_file_structure
相关文章:
- 复制列表初始化的隐式转换的等级是多少
- while循环中while循环的时间复杂度是多少
- "unknown ca"自生成的 CA、证书和客户端/服务器
- 当我编译webrtc服务器时,Windows上只支持clang-cl
- 如何检查一个c++字符串中有多少相同的字符/数字
- 如何通过套接字将文本文件的内容从服务器发送到客户端
- C++有多少类型的循环
- 求出有多少个数字是完美平方,而sqrt()是L,R范围内的素数
- 有没有办法知道Tracer是否成功地完全连接到了jaegerclientcpp中的jaeger后端服务器
- 从服务器传输到客户端的消息不会出现
- QTcpSocket在不阻塞GUI的情况下重新连接到服务器
- OpenSSL TLS服务器-使用客户端证书白名单
- 在条件变量中触发错误信号的频率是多少
- 我正在开发服务器,ip作为参数传递不起作用
- 函数的时间复杂度是多少?
- 计算出有多少客户端可以连接到我正在使用的一些tcp服务器代码
- 使用 CommonAPI 编写服务器时C++服务器进程中创建了多少个线程?
- 将现有套接字重新连接到新服务器所需的最少工作量是多少
- 我如何以编程方式找出IIS服务器有多少资源以及每个资源上的流量.等
- FIX引擎从客户端向服务器发送FIX消息的最低延迟是多少?