Fixed cacheline size check.

This commit is contained in:
Jari Sundell
2026-06-01 13:11:02 +02:00
committed by GitHub
parent 2cf8f2351b
commit 50a609ade9
10 changed files with 196 additions and 29 deletions
+2 -2
View File
@@ -7,13 +7,13 @@
namespace input {
void
InputEvent::insert(torrent::net::Poll* p) {
InputEvent::insert(torrent::system::Poll* p) {
p->open(this);
p->insert_read(this);
}
void
InputEvent::remove(torrent::net::Poll* p) {
InputEvent::remove(torrent::system::Poll* p) {
p->remove_read(this);
p->close(this);
}
+3 -3
View File
@@ -4,7 +4,7 @@
#include <functional>
#include <torrent/event.h>
#include <torrent/net/poll.h>
#include <torrent/system/poll.h>
namespace input {
@@ -16,8 +16,8 @@ public:
const char* type_name() const override { return "input"; }
void insert(torrent::net::Poll* p);
void remove(torrent::net::Poll* p);
void insert(torrent::system::Poll* p);
void remove(torrent::system::Poll* p);
void event_read() override;
void event_write() override;