修复一个ipc传输的bug
This commit is contained in:
@@ -371,6 +371,11 @@ static msg_tag_t ipc_wait(ipc_t *ipc, thread_t *th, entry_frame_t *f, msg_tag_t
|
||||
tag = th->msg.tag;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
preemption();
|
||||
tag = th->msg.tag;
|
||||
}
|
||||
spinlock_set(&ipc->lock, status);
|
||||
return tag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user