kernel: remove SEND_BLOCKED and REPLY_BLOCKED statuses from ports

this allows a port to be used by multiple threads at the same time
This commit is contained in:
2026-03-29 11:42:23 +01:00
parent 7d25f1c31a
commit f5a83af0d7
3 changed files with 0 additions and 8 deletions
-1
View File
@@ -102,7 +102,6 @@ static struct msg *get_next_msg(
switch (msg->msg_status) {
case KMSG_WAIT_RECEIVE:
msg->msg_status = KMSG_WAIT_REPLY;
msg->msg_sender_port->p_status = PORT_REPLY_BLOCKED;
channel->c_msg_waiting--;
return msg;
case KMSG_ASYNC:
-1
View File
@@ -148,7 +148,6 @@ kern_status_t port_send_msg(
unsigned long flags;
channel_lock_irqsave(port->p_remote, &flags);
port->p_status = PORT_SEND_BLOCKED;
channel_enqueue_msg(port->p_remote, &msg);
channel_unlock_irqrestore(port->p_remote, flags);