* fix msg_reply_int
This commit is contained in:
parent
5a4524539d
commit
dc094d442b
@ -148,7 +148,7 @@ int msg_reply_int(msg *m, msg *reply) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
msg* target_message = (msg*)target->wait_data;
|
msg* target_message = (msg*)target->wait_data;
|
||||||
*target_message = *m;
|
*target_message = *reply;
|
||||||
sched_set_status(target, STATUS_PENDING);
|
sched_set_status(target, STATUS_PENDING);
|
||||||
sched_context_switch_request = 1;
|
sched_context_switch_request = 1;
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user