forked from M-Labs/artiq
runtime: avoid spurious error messages.
This commit is contained in:
parent
b5cf1e395d
commit
b6e2613f77
@ -41,6 +41,8 @@ static int load_or_start_kernel(void *library, int run_kernel)
|
||||
start_kernel_cpu(&request);
|
||||
|
||||
struct msg_load_reply *reply = mailbox_wait_and_receive();
|
||||
mailbox_acknowledge();
|
||||
|
||||
if(reply->type != MESSAGE_TYPE_LOAD_REPLY) {
|
||||
log("BUG: unexpected reply to load/run request");
|
||||
return 0;
|
||||
@ -51,8 +53,6 @@ static int load_or_start_kernel(void *library, int run_kernel)
|
||||
return 0;
|
||||
}
|
||||
|
||||
mailbox_acknowledge();
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user