mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
runtime: [HACK] workaround for intermittent RPC crashes
This commit is contained in:
parent
1ce41d567c
commit
37ac6c4542
@ -298,6 +298,11 @@ static int process_input(void)
|
||||
memcpy(&reply.eid, &buffer_in[9], 4);
|
||||
memcpy(&reply.retval, &buffer_in[13], 4);
|
||||
mailbox_send_and_wait(&reply);
|
||||
/* HACK/FIXME: workaround for intermittent crashes that happen when running rpc_timing with comm_tcp */
|
||||
int i;
|
||||
for(i=0;i<100000;i++)
|
||||
__asm__ volatile("l.nop");
|
||||
/* */
|
||||
user_kernel_state = USER_KERNEL_RUNNING;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user