Implement waiting for process, CE add command cancelation, rctx many cpus
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m27s

This commit is contained in:
2026-03-01 22:59:04 +01:00
parent 858e55118b
commit 9043c4f9ec
18 changed files with 308 additions and 89 deletions

View File

@@ -6,16 +6,17 @@
#include <string.h>
#include <terminal.h>
#define RECV_MAX (1024 * 16)
static int ce_pgid;
void receiver (void) {
for (;;) {
char rcv;
mail_receive (&rcv, 1);
if (rcv == '\n')
terminal_print ("\r\n", 2);
else
terminal_print (&rcv, 1);
char recv[RECV_MAX];
memset (recv, 0, sizeof (recv));
mail_receive (&recv, sizeof (recv) - 1);
terminal_print (recv, strlen (recv));
}
}