Linked-list-based mail packets
Some checks failed
Build documentation / build-and-deploy (push) Has been cancelled

This commit is contained in:
2026-03-17 19:21:52 +01:00
parent c69ee1b745
commit 9836fab810
3 changed files with 26 additions and 19 deletions

View File

@@ -16,6 +16,7 @@ struct reschedule_ctx;
struct mail_packet {
void* packet_buffer;
size_t packet_size;
struct list_node_link packets_link;
};
struct proc_mail {
@@ -23,7 +24,9 @@ struct proc_mail {
struct proc_suspension_q send_sq;
struct proc_suspension_q recv_sq;
struct ringbuffer ringbuffer;
struct list_node_link* packets;
size_t packets_count;
};
void proc_cleanup_resource_mail (struct proc_resource* resource, struct reschedule_ctx* rctx);