diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-08-10 15:35:52 +0200 |
---|---|---|
committer | Kim M. Kalland <kim.kalland@nokia.com> | 2011-08-11 10:21:33 +0200 |
commit | 1ddef09c351f2899b1662ddd1de190c0d0a8b7bf (patch) | |
tree | b5bf5d470e992a7aded0908ba34e3d10d6688298 | |
parent | 2b28e1f18c3d9f8f7c116669049aaffaa220804a (diff) |
improved debug messages a bit
Change-Id: I2f1d90faba1fe508b7638b857b9803e0281de5d4
Reviewed-on: http://codereview.qt.nokia.com/2826
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
-rw-r--r-- | src/declarative/items/qsgcanvas.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/declarative/items/qsgcanvas.cpp b/src/declarative/items/qsgcanvas.cpp index 5717ce844e..19e9f9956f 100644 --- a/src/declarative/items/qsgcanvas.cpp +++ b/src/declarative/items/qsgcanvas.cpp @@ -1966,7 +1966,7 @@ void QSGCanvasRenderThread::run() } #ifdef THREAD_DEBUG - printf(" RenderThread: exited... Good Night!\n"); + printf(" RenderThread: render loop exited... Good Night!\n"); #endif guiContext->doneCurrent(); @@ -1978,6 +1978,10 @@ void QSGCanvasRenderThread::run() #endif wake(); unlock(); + +#ifdef THREAD_DEBUG + printf(" RenderThread: All done...\n"); +#endif } @@ -2172,6 +2176,11 @@ void QSGCanvasRenderThread::stopRenderThread() // Actually wait for the thread to terminate. Otherwise we can delete it // too early and crash. QThread::wait(); + +#ifdef THREAD_DEBUG + printf("GUI: thread has terminated and we're all good..\n"); +#endif + } |