Mercurial
comparison seobeo/os/s_linux_edge.c @ 260:1f9877b637e9
Add Copilot-powered cyberpunk JRPG chat
Integrate the production JRPG chat with Seobeo streaming, Deita persistence, and a Bazel-managed Copilot SDK and LiteLLM inference stack.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 09:19:41 -0700 |
| parents | 609d3c6aff4e |
| children |
comparison
equal
deleted
inserted
replaced
| 259:667156fcd3e3 | 260:1f9877b637e9 |
|---|---|
| 45 perror("epoll_ctl ADD server"); | 45 perror("epoll_ctl ADD server"); |
| 46 close(epfd); | 46 close(epfd); |
| 47 return NULL; | 47 return NULL; |
| 48 } | 48 } |
| 49 | 49 |
| 50 while (1) | 50 while (!Seobeo_Web_Server_Is_Stopping()) |
| 51 { | 51 { |
| 52 int n = epoll_wait(epfd, events, max_events, -1); // Block indefinitely, kernel handles timeouts | 52 int n = epoll_wait(epfd, events, max_events, 250); |
| 53 if (n < 0) | 53 if (n < 0) |
| 54 { | 54 { |
| 55 if (errno == EINTR) | 55 if (errno == EINTR) |
| 56 continue; | 56 continue; |
| 57 perror("epoll_wait"); | 57 perror("epoll_wait"); |