0ad/build/premake
wraitii 2d40068cd1 Thread the NetClient session.
This threads the netclient session, which avoids timeouts when the
main-thread is not polling (map creation, very long simulation frames).

Unlike the NetServer, which should be as independent as possible from
the main thread, the NetClient is fundamentally tied to the game thread.
Therefore, this only threads the session object.
To ensure good performance and ease-of-use, lock-free queues for
in/out-going messages are used.

This fixes artificial timeouts, while also improving actual ping reports
(since frame-time is no longer a factor).
It effectively reverts D1513/eda236522c and 2e7e1c0b2b, all hacks around
lag-timeouts (and bits of 1a3fb29ff3).

Based on a patch by: Stan
Comments by: Vladislavbelov
Fixes #3700, refs #3373

Differential Revision: https://code.wildfiregames.com/D2848
This was SVN commit r24518.
2021-01-06 15:26:11 +00:00
..
cxxtest Refactor the cxxtest premake module. 2017-12-10 11:17:43 +00:00
pkgconfig Use pkg-config where possible instead of hard-coding or library-specific programs 2019-05-25 18:00:40 +00:00
premake5 (1/2) Update premake5 to Alpha 15 - premake5 files 2020-12-14 02:17:47 +00:00
tests Detect the need for libexecinfo in premake. This is mostly useful for musl Linux. 2020-06-23 15:06:57 +00:00
extern_libs5.lua [BOOST 1.75 2/2] Update binaries for windows (1.65 → 1.75). 2020-12-31 12:13:25 +00:00
premake5.lua Thread the NetClient session. 2021-01-06 15:26:11 +00:00