diff seobeo/os/s_linux_edge.c @ 244:b8aa08503378

[tools] Add sandboxed online LaTeX editor Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Mon, 03 Aug 2026 16:56:25 -0700
parents a8976a008a9d
children 609d3c6aff4e
line wrap: on
line diff
--- a/seobeo/os/s_linux_edge.c	Mon Aug 03 15:26:44 2026 -0700
+++ b/seobeo/os/s_linux_edge.c	Mon Aug 03 16:56:25 2026 -0700
@@ -37,7 +37,7 @@
   }
 
   struct epoll_event ev = {
-    .events = EPOLLIN | EPOLLET,
+    .events = EPOLLIN | EPOLLET | EPOLLEXCLUSIVE,
     .data.ptr = args->srv
   };
   if (epoll_ctl(epfd, EPOLL_CTL_ADD, args->srv->socket, &ev) < 0)