diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-03-15 18:47:11 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-03-15 20:06:21 (GMT) |
commit | 59c7740c9d45a88713db20efbfcfbdaf3873b60c (patch) | |
tree | 94dd09982e3818ff3ec58fb345f9cacb0e3dec04 /src/network/bearer/qsharednetworksession_p.h | |
parent | 86b1e68285a4dae855a5826f76728cee347d1af2 (diff) | |
download | Qt-59c7740c9d45a88713db20efbfcfbdaf3873b60c.zip Qt-59c7740c9d45a88713db20efbfcfbdaf3873b60c.tar.gz Qt-59c7740c9d45a88713db20efbfcfbdaf3873b60c.tar.bz2 |
Make creating sockets with an explicit network session thread safe
Added a mutex to QNetworkSessionPrivate
Lock the mutex in the symbian bearer plugin for functions that change
the validity of the RConnection.
Added factory functions to open an RSocket or RHostResolver, which lock
the mutex before the esock function calls. If there is no RConnection,
then KErrNotReady is returned (the same as when there is an RConnection
but it has not been started).
Task-number: QTBUG-18143
Reviewed-by: Markus Goetz
Diffstat (limited to 'src/network/bearer/qsharednetworksession_p.h')
0 files changed, 0 insertions, 0 deletions