Shauren
7395d75b5a
Core/Misc: Fixed clang 15 warnings
2023-01-31 18:51:31 +01:00
Shauren
d791afae1d
Core/Logging: Switch from fmt::sprintf to fmt::format (c++20 standard compatible api)
2023-01-08 21:16:53 +01:00
Shauren
85d5f4bc06
Core/Threading: Modernize ProducerConsumerQueue a bit to fix GCC build
...
Closes #28607
2022-12-20 01:03:07 +01:00
Shauren
f59580dc6c
Core/Threading: Create ThreadPool class
...
(cherry picked from commit d82b2b1a67 )
2022-10-13 11:54:18 +02:00
Shauren
088db0103f
Core/Misc: Remove uses of std::aligned_storage (deprecated in future c++ standard)
2022-05-11 13:59:41 +02:00
Giacomo Pozzoni
51f0294c18
Core/DBLayer: Add QueueSize() method ( #26733 )
...
* Core/DBLayer: Add QueueSize() method
Add QueueSize() method to database objects (Login, Character and World) that returns how many tasks are queued.
Include the queue size of the 3 databases in ".server debug" command
* Make the code less threadsafe
* Send data to InfluxDB
* Update grafana dashboard
(cherry picked from commit 96dc110f4a )
2022-03-11 19:32:22 +01:00
Shauren
439b027d48
Core/Misc: Cleanup unused includes
2022-02-13 15:07:00 +01:00
Shauren
cbcd149ce5
Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers
2022-02-11 14:33:35 +01:00
Shauren
015cee5f27
Core/Networking: Initialize MPSCQueueIntrusive dummy node without undefined behavior
...
(cherry picked from commit e1289805fc )
2022-02-04 00:27:11 +01:00
Shauren
865b47efad
Core/Networking: Switch to intrusive variant of MPSC queue to halve the number of memory allocations for packet sending ( #24659 )
...
(cherry picked from commit f0060496f9 )
2022-01-06 19:38:12 +01:00
Shauren
b231903932
Core/Misc: Port all the refactors sneaked in master to 3.3.5 include cleanup port
2020-09-04 13:38:24 +02:00
Aokromes
b0bf1275ee
New Year
2020-01-02 06:44:10 +01:00
vincent-michael
5620eb9463
Update copyright note for 2019
...
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
vincent-michael
7d00ae4045
Update copyright note for 2018
...
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Shauren
3a418a0bbc
Core/Common: Include cleanup
2017-05-11 22:29:51 +02:00
Shauren
b8db320bf1
Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
2017-03-04 18:46:18 +01:00
vincent-michael
86b98686a9
Update copyright note for 2017
...
Happy new year
2017-01-01 16:23:13 +01:00
Naios
be90932eda
Core/Common: Move the query callback header to the database project
...
* Also renames the header to it's correct name QueryCallback
(cherry picked from commit d4d199d765 )
2016-05-10 18:20:52 +02:00
Shauren
8086a39210
Core/PacketIO: Requeue packets handled with STATUS_LOGGEDIN received before player is fully loaded in one step after packet processing loop - reduces used locks from 3 per packet to 1 per packet
2016-02-22 20:02:26 +01:00
Shauren
97a79af470
Core/Networking: Rewrite networking threading model
...
Each network thread has its own io_service - this means that all operations on a given socket except queueing packets run from a single thread, removing the need for locking
Sending packets now writes to a lockfree intermediate queue directly, encryption is applied in network thread if it was required at the time of sending the packet
2016-02-19 19:23:04 +01:00
Vincent-Michael
478cc756eb
Update copyright note for 2016
...
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
StormBytePP
1d2aafd39b
Core/Build: Merge common library and move database out of shared
2015-08-21 17:52:42 +02:00