summaryrefslogtreecommitdiffhomepage
path: root/tracker-udp/ftnoir_tracker_udp.cpp
AgeCommit message (Collapse)Author
2017-06-18get rid of "volatile" abuseStanislaw Halik
We heavily used "volatile bool" to check if the thread loop should stop. But this functionality is already provided by Qt5's QThread::requestInterruption. In other cases, "volatile" is wonderfully underspecified so it's better to ditch its usage in favor of std::atomic<t>. At the time we don't appear to be using the "volatile" keyword except when calling win32's Interlocked*() family of functions as necessary. In freetrackclient's header the "volatile" qualifier was used as part of a typedef. This doesn't work. Use it as part of data declaration.
2016-11-04modules: make names uniqueStanislaw Halik
2016-08-23tracker/udp: minor fixesStanislaw Halik
- use clamp util function - only sleep until the next datagram arrives - check data for NaN before accepting
2016-08-20Update ftnoir_tracker_udp.cppsheepsskullcity
On success, bind() function returns true. So while(!should_quit) loop was always skipped.
2016-08-12all: rename modules s#^opentrack-##. and opentrack -> apiStanislaw Halik
Adjust usages.
2016-08-10tracker/udp: quit if socket can't be boundStanislaw Halik
2015-10-30move to subdirectory-based build systemStanislaw Halik
Closes #224