Slightly less hacky sim queue_send(), fixes simulator crashes FS#7051 and FS#7245.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14113 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f7f8ee1645
commit
abf3435ca7
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ intptr_t queue_send(struct event_queue *q, long id, intptr_t data)
|
|||
if(q->send)
|
||||
{
|
||||
struct thread_entry **spp = &q->send->senders[wr];
|
||||
struct thread_entry sender;
|
||||
static struct thread_entry sender;
|
||||
|
||||
if(*spp)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue