Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Chinese
  4. 關於setMaxThreadCount
Forum Updated to NodeBB v4.3 + New Features

關於setMaxThreadCount

Scheduled Pinned Locked Moved Unsolved Chinese
1 Posts 1 Posters 866 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ArronA Offline
    ArronA Offline
    Arron
    wrote on last edited by
    #1

    我想寫一個socket的介面
    MyClient::MyClient(QObject *parent) :
    QObject(parent)
    {

    QThreadPool::globalInstance()->setMaxThreadCount(10000);
    

    }

    setMaxThreadCount(10000); 這邊會限制住傳遞次數 請問有方法可以無限次嗎

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved