1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 13:55:06 +00:00

Kernel: Move all code into the Kernel namespace

This commit is contained in:
Andreas Kling 2020-02-16 01:27:42 +01:00
parent d42f0f4661
commit a356e48150
201 changed files with 907 additions and 111 deletions

View file

@ -36,6 +36,8 @@
//#define TCP_SOCKET_DEBUG
namespace Kernel {
void TCPSocket::for_each(Function<void(TCPSocket&)> callback)
{
LOCKER(sockets_by_tuple().lock());
@ -465,3 +467,5 @@ void TCPSocket::close()
LOCKER(closing_sockets().lock());
closing_sockets().resource().set(tuple(), *this);
}
}