Bram Matthys
7f9c7a0eb4
Remove high cpu load warning, since it is confusing and may very well
...
not be caused by UnrealIRCd.
Reported by armyn in https://bugs.unrealircd.org/view.php?id=6029
2021-12-25 08:58:46 +01:00
Bram Matthys
585ee5c63f
Fix error when using the poll() i/o engine. Reported by Jobe in
...
https://bugs.unrealircd.org/view.php?id=5999
2021-11-10 07:09:01 +01:00
Bram Matthys
4c2aeab75e
Windows compile fixes
2021-08-28 16:35:37 +02:00
Bram Matthys
579988e07e
ULOG_INFO, not LOG_INFO, strikes again!
2021-08-12 15:23:07 +02:00
Bram Matthys
ccfad0eed0
Enable high CPU usage detection, not sure yet for production, but
...
at least for U6 development.
2021-08-11 19:08:46 +02:00
Bram Matthys
191f81dd63
Newlog: dispatch (io engine)
...
Hopefully no typos anywhere, since the compiler only checks about 1/3rd
of the code since it depends on the backend which code is used.
2021-08-11 16:03:54 +02:00
Bram Matthys
fe21fd6024
Remove sendto_realops_and_log() and map some remaining temporary
...
to sendto_ops_and_log() which will soon disappear too.
2021-08-11 15:47:00 +02:00
Bram Matthys
bc9525528c
Get rid of report_error() and report_baderror() now that the last
...
function call has been replaced with unreal_log().
2021-08-09 12:20:13 +02:00
Bram Matthys
3a64077f51
Use 'client' everywhere (if there is no confusion) instead of 'sptr' or 'cptr'.
...
This so I - and others - don't constantly have to wonder whether the client
is called sptr, cptr or acptr in a simple routine.
Insane --> 212 files changed, 6814 insertions(+), 6945 deletions(-)
Couldn't just mass-replace of course since there are places where there
are multiple clients involved. So had to check each function.
Also renamed some 'acptr' to 'target' and such.
I will write a page with new style rules later.. but in short if there is
only 1 client involved it will now be called 'client'.
2019-10-04 15:25:35 +02:00
Bram Matthys
117a87dd8e
I/O engine performance improvements (and fixes)
...
This is work in progress. The work was already done but the patch was
postponed until after alpha3 since it's not sufficiently stable yet.
2019-09-22 08:43:27 +02:00
Bram Matthys
70410b3f33
Remove unused variables (67 files done, will do rest another time).
2019-09-12 17:57:01 +02:00
Bram Matthys
792709bf4f
Move cptr->fd to cptr->local->fd. This may cause some crashes while
...
the rest of the code is audited / checked ;)
2019-09-11 14:21:07 +02:00
Bram Matthys
23116d344a
Give structs the same name as the typedefs. Rename aClient to Client,
...
aChannel to Channel, and some more. Third party module coders will
love this. But.. it makes things more logical and the doxygen output
will look more clean and logical as well.
(More changes will follow)
2019-09-11 09:48:00 +02:00
Bram Matthys
1183e88077
Remove old SunOS / Solaris / AIX code.
...
And some other outdated things for non-POSIX systems...
2019-09-09 15:46:19 +02:00
Bram Matthys
03e095cd92
Rename src/s_*.c files: drop the useless s_ prefix.
2019-08-11 17:15:14 +02:00