forked from qt-creator/qt-creator
Debugger: Remove output lock from cdb bridge
There's no threading involved on the cdb/python side. Change-Id: Ibc1ad6fb5242a86450ca15f65cb57e4cae99d6ed Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -26,7 +26,6 @@
|
|||||||
import inspect
|
import inspect
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
import threading
|
|
||||||
import cdbext
|
import cdbext
|
||||||
|
|
||||||
sys.path.insert(1, os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))))
|
sys.path.insert(1, os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))))
|
||||||
@@ -217,7 +216,6 @@ class Dumper(DumperBase):
|
|||||||
self.reportResult(self.output, args)
|
self.reportResult(self.output, args)
|
||||||
|
|
||||||
def report(self, stuff):
|
def report(self, stuff):
|
||||||
with self.outputLock:
|
|
||||||
sys.stdout.write(stuff + "\n")
|
sys.stdout.write(stuff + "\n")
|
||||||
|
|
||||||
def loadDumpers(self, args):
|
def loadDumpers(self, args):
|
||||||
|
@@ -32,6 +32,7 @@ import re
|
|||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
import inspect
|
import inspect
|
||||||
|
import threading
|
||||||
|
|
||||||
if sys.version_info[0] >= 3:
|
if sys.version_info[0] >= 3:
|
||||||
xrange = range
|
xrange = range
|
||||||
|
Reference in New Issue
Block a user