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:
Steve Bavin 2007-08-01 09:07:09 +00:00
parent f7f8ee1645
commit abf3435ca7

View file

@ -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)
{