Commit graph

8 commits

Author SHA1 Message Date
Eelke Klein
52442a145d Cleanup, removed commented out code, removed two units specific to windows which were not needed anymore
because we are using boost::asio now.
2017-08-25 08:45:54 +02:00
Eelke Klein
16676aa910 Cancel functionality works again.
Also async operations are now cancelled when the dbconnection is closed and if needed also a cancel is
send before closing the connection.
2017-08-25 08:37:18 +02:00
Eelke Klein
f11f9545ac ASyncDBConnection is now based of boost::asio instead of using it's own thread.
connection: tested OK
querying: tested OK
notices: should be working
cancel: todo
2017-08-24 21:12:32 +02:00
Eelke Klein
4beea05ba6 Adding in boost::asio support
main starts a thread that keep a global io_service object
running and makes sure it is stopped when everything else is
stopped.
2017-08-24 19:45:00 +02:00
Eelke Klein
a6755c20f2 Splitter between sql and parameters. 2017-08-24 19:43:17 +02:00
Eelke Klein
4167c483f5 Most seems to work. Multi threading is not optimal
however some points use a timeout with select or wait_for
to poll a condition at the same time.
2017-08-23 17:41:10 +02:00
Eelke Klein
6a97c0447a Compiles, links and runs (functionality not tested) 2017-08-23 13:27:23 +02:00
Eelke Klein
04723a289b Switching to linux for development of pglab.
Switched from qmake to cmake. Code changes to make it compile.
2017-08-23 08:10:01 +02:00