qtd3dservice: Lock the app to a single instance
authorAndrew Knight <andrew.knight@digia.com>
Thu, 13 Mar 2014 17:36:37 +0000 (19:36 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 15 Mar 2014 13:09:39 +0000 (14:09 +0100)
commit34c8f1a20e0593723785988c98a1858e40891614
treee097ad7b5fb23005b3648d3e65e31d96f0fe902f
parent2c9f0207a7e001c13281015f047fca667e4b7e14
qtd3dservice: Lock the app to a single instance

To avoid conflicts with multiple services running in tandem, create
a lock mutex and prevent starting multiple instances.

Change-Id: I0b1eede3947d8baafa309ffd8e214029a4b79bc5
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
src/qtd3dservice/d3dservice.cpp