最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

qnx - TimerTimeout is not working when MsgReply is delayed - Stack Overflow

programmeradmin1浏览0评论

I am trying to make timertimeout at client side ,when we delayed msgreply from server to client

printing proper without timertimeout even we delayed

client code:

 if (TimerTimeout(CLOCK_REALTIME, _NTO_TIMEOUT_SEND | _NTO_TIMEOUT_REPLY, &event, 
    &timeout, NULL) == -1) {
    perror("❌ TimerTimeout failed");
    name_close(coid);
    return EXIT_FAILURE;
}

printf("✅ TimerTimeout successfully set.\n");
printf("
发布评论

评论列表(0)

  1. 暂无评论