Commit 43e20d57 authored by Kai Koehne's avatar Kai Koehne Committed by Qt by Nokia
Browse files

Debugger: Move server into it's own thread


So far the debugger infrastructure was running in the GUI thread,
which required e.g. nested event loops to implement blocking behavior.
The server and networking code are now running in their own thread,
while the services are still running in the main thread.

Because v8 isn't thread safe, we're adding two new JSEngines + isolates
to qv8debugservice: One to decode JSON messages in the debugger thread,
and one in the GUI thread.

Change-Id: I746f5e203968f7bcc510fb66118c88ef0fd0cd14
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent 774eebf9
No related merge requests found
Showing with 276 additions and 155 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment