mono: Run the internal core in a separate thread
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 30 May 2018 22:34:13 +0000 (00:34 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 6 Jun 2018 19:12:17 +0000 (21:12 +0200)
commit358e5d557d527675c7bc62e58a4c7ad3b408897c
tree6fe2b6d5da0cc5ec2c023a786d08ddb3a512a793
parentdbcfda6f073ab1c72d8dc0c3a9325c59f083642d
mono: Run the internal core in a separate thread

Prevent the internal core from blocking the UI of the monolithic
client by running it in a separate thread. This is particularly
important during startup, where e.g. a database upgrade may block
the core for a significant time, preventing the main window from
being rendered, or even showing up.
src/client/coreconnection.cpp
src/client/coreconnection.h
src/common/internalpeer.cpp
src/common/internalpeer.h
src/core/core.cpp
src/core/core.h
src/qtui/monoapplication.cpp
src/qtui/monoapplication.h