0ad/build
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
..
android Actually remove trailing whitespace for non-header files as well. 2016-11-23 13:02:58 +00:00
bin Cleanup of NASM. It has been unused for ages (153357f640) and we still have legacy code lines in our premake scripts. We also carry an unused binary for Windows. 2017-01-30 09:19:59 +00:00
coala Fixes and improvements to the CI pipelines. 2020-08-18 12:47:09 +00:00
coverage Small updates to build scripts, refs #4419. 2016-12-27 09:49:41 +00:00
dehydra Detect and fix printf signedness errors. Fixes #1086, #1087. 2012-01-01 16:43:10 +00:00
errorlist # Rewrite of the game's simulation system 2010-01-09 19:20:14 +00:00
jenkins More improvements to the release scripts. 2020-12-09 15:22:24 +00:00
premake Thread the NetClient session. 2021-01-06 15:26:11 +00:00
resources Fix MacOs bundle for Python3 2020-11-28 10:23:06 +00:00
svn_revision Fix lineendings. 2019-07-12 17:40:40 +00:00
workspaces (2/2) Update premake5 to Alpha 15 - shell scripts 2020-12-14 02:22:58 +00:00