summaryrefslogtreecommitdiff
path: root/kernel/timer.c
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-07-04 20:09:51 +0200
committerAnton Kling <anton@kling.gg>2024-07-04 20:10:47 +0200
commitafc2b4d4766b0e4ee8519ac6fcd98353d3864322 (patch)
tree65094046734586e5f2da5d553305103ebb87a34f /kernel/timer.c
parentf89eef4733b7905dbf362cbde9aebb2dd0dcfe7d (diff)
TCP: Allow delay for sends
This is not at all optimal for applications that already buffer their data but can have a huge impact on those that don't. Applications that don't wish to use this should disable this for their socket.
Diffstat (limited to 'kernel/timer.c')
-rw-r--r--kernel/timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/timer.c b/kernel/timer.c
index 2121462..21020b0 100644
--- a/kernel/timer.c
+++ b/kernel/timer.c
@@ -19,7 +19,6 @@ void timer_start_init(void) {
enable_interrupts();
cmos_init();
cmos_start_call(1, &has_unix_time, &start_unix_time);
- enable_interrupts();
}
void timer_wait_for_init(void) {