diff options
author | Markus Goetz <Markus.Goetz@nokia.com> | 2009-12-16 13:10:36 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-12-17 15:32:24 (GMT) |
commit | face84c73a2196432020dda18755af7955d2de39 (patch) | |
tree | 48e1ad0c450ed14bf25a35f038ff6f6fae021734 /src/network/kernel/qhostinfo_win.cpp | |
parent | c74d9d92f0d9c372de71ccf865edffae92a92d98 (diff) | |
download | Qt-face84c73a2196432020dda18755af7955d2de39.zip Qt-face84c73a2196432020dda18755af7955d2de39.tar.gz Qt-face84c73a2196432020dda18755af7955d2de39.tar.bz2 |
Change QHostInfo to use 5 parallel lookup threads
Instead of sequentially looking up and potentially taking
a long time, we now do work in parallel.
Reviewed-by: ogoffart
Reviewed-by: lars
Diffstat (limited to 'src/network/kernel/qhostinfo_win.cpp')
-rw-r--r-- | src/network/kernel/qhostinfo_win.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/network/kernel/qhostinfo_win.cpp b/src/network/kernel/qhostinfo_win.cpp index 720aaa5..727a8b0 100644 --- a/src/network/kernel/qhostinfo_win.cpp +++ b/src/network/kernel/qhostinfo_win.cpp @@ -105,11 +105,7 @@ static void resolveLibrary() #include <qmutex.h> QMutex qPrivCEMutex; #endif -/* - Performs a blocking call to gethostbyname or getaddrinfo, stores - the results in a QHostInfo structure and emits the - resultsReady() signal. -*/ + QHostInfo QHostInfoAgent::fromName(const QString &hostName) { #if defined(Q_OS_WINCE) |