QNetworkAccessManager from ThreadPool
-
29-10-2019 - |
Question
A very fundamental question. The documentation mentions that all methods in QNetworkAccessManager
are reentrant. If so, is performing a get()
method in a QRunnable
without locks legal? My code would look something like this:
class MyClass: public QRunnable
{
void run()
{
...
QNetworkAccessManager nam;
QNetworkReply* reply = name.get(request) // No Read-write lock.
...
}
};
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow