diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-04-28 12:59:40 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-05-03 22:39:30 +0000 |
commit | d107266cd403416d622948186968106a9cf78590 (patch) | |
tree | 46be19d204f577fd15df8ba72e6b3094d629b307 /examples/webenginewidgets/demobrowser/featurepermissionbar.h | |
parent | a6a8cf1cb1515ec19c5216f76e887c5eef84aef3 (diff) |
Fix threading issues with URLRequestContext
URLRequestContextGetterQt contains data which is shared between UI and IO
thread. Make the class more thread friendly by making copies of the data
that can be accessed from the IO thread, and protect synchronization with
a full mutex instead of atomics.
Also fixes circular reference between URLRequestContextGetterQt and
BrowserContextAdapter.
Task-number: QTBUG-50160
Task-number: QTBUG-52509
Change-Id: Idaba211533cfad229e1d1872cdfdf4e7dffeb3d8
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'examples/webenginewidgets/demobrowser/featurepermissionbar.h')
0 files changed, 0 insertions, 0 deletions