Asynchronous function call for C++

前端 未结 8 716
面向向阳花
面向向阳花 2021-02-09 17:38

I need a hint how to implement asynchronous function calls in C/C++ ( or names of frameworks/API calls for windows and/or linux )

The use case is following: A parent thr

8条回答
  •  长情又很酷
    2021-02-09 18:20

    Use Qt framework and Thread classes or the Qt Concurrency framework.

    Connect to QThread::finished() or QFutureWatcher::finished() signal to be notified when the work is done.

提交回复
热议问题