summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.cpp
AgeCommit message (Collapse)Author
2018-07-03cleanupStanislaw Halik
2018-07-02nothing importantStanislaw Halik
2018-01-18compat/util: retireStanislaw Halik
Adjust usages.
2017-10-29static constexpr -> constexprStanislaw Halik
2017-10-08use "static" once, don't propagate from a macroStanislaw Halik
2017-06-08tracker/hatire: fix breakageStanislaw Halik
Issue: #139
2017-06-07Revert "tracker/hatire: try to fix busy-looping harder"Stanislaw Halik
This reverts commit 5e5dc9ec086eb277828abd6bade93dd0faabb9de.
2017-05-21tracker/hatire: minor cleanupStanislaw Halik
2017-05-12tracker/hatire: try to fix busy-looping harderStanislaw Halik
Need discussion in: #139
2016-11-05tracker/hatire: add more translatable stringsStanislaw Halik
2016-11-05fix buildStanislaw Halik
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-06-24tracker/hatire: fix qt warningStanislaw Halik
2016-06-19tracker/hatire: register even more signals earlieropentrack-2.3-rc49p4Stanislaw Halik
2016-06-19tracker/hatire: connect slots before thread start to prevent racesStanislaw Halik
Issue: #139
2016-06-18tracker/hatire: reduce diff to rc49p1opentrack-2.3-rc49p3Stanislaw Halik
2016-06-18tracker/hatire: oops, fix build in serial modeStanislaw Halik
2016-06-18tracker/hatire: fix runtime qt threading warn in replay modeStanislaw Halik
2016-06-18tracker/hatire: saner update speed for replay from fileStanislaw Halik
2016-06-18tracker/hatire: remove explicit slot conntypeStanislaw Halik
Qt will take care of its own.
2016-06-10tracker/hatire: fix threading warningopentrack-2.3-rc49p2Stanislaw Halik
It allows for direct connection now.
2016-05-17tracker/hatire: move logger from headerStanislaw Halik
There's no need for the identifier to be exposed.
2016-05-15tracker/hatire: remove unused unused macroStanislaw Halik
2016-05-15many: remove executable bit from source filesStanislaw Halik
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation.
2016-05-09tracker/hatire: add serial 100% cpu usage workaroundStanislaw Halik
Issue: #327
2016-05-09tracker/hatire: move to opentrack settings APIStanislaw Halik
2016-05-09tracker/hatire: remove min length check duplicationStanislaw Halik
The api callee already takes care of that so remove the "ok" argument.
2016-05-06tracker/hatire: fix sleep in ready_read event handler for debug caseStanislaw Halik
2016-05-06tracker/hatire: add debug logging varianceStanislaw Halik
2016-05-06tracker/hatire: don't hoard more data than a single dgramStanislaw Halik
The resync code already worked without that.
2016-05-06tracker/hatire: move function from headerStanislaw Halik
2016-05-06tracker/hatire: simplifyStanislaw Halik
We don't need to move back the datagram since we're processing the original.
2016-05-04tracker/hatire: try to optimize the polling pathStanislaw Halik
Issue: #327
2016-05-04tracker/hatire: switch to 200 Hz following user complaintStanislaw Halik
See: https://github.com/opentrack/opentrack/issues/327#issuecomment-215991810
2016-05-04tracker/hatire: remove raceStanislaw Halik
Don't prepend existing remaining data racing with add new data. Expose the lock as a public member.
2016-04-29tracker/hatire: move io to a separate threadStanislaw Halik
We can't have async io on the main thread because QSerialPort's readyRead() signal can fire constantly, thus consuming all CPU time. We can't sleep in the main thread either as that blocks too many things. We can't ignore readyRead() invocations over a threshold as that'll make us lose some of data notifications. Refactor hatire to put IO on a thread. Since this is a separate Qt event loop, we may sleep in there. Further, add a debug mode reading data from a file, as if it came from a serial-attached device. Issue: #327