commit | abf3435ca724bf6201c663f33c2e4394ae48156d | [log] [tgz] |
---|---|---|
author | Steve Bavin <pondlife@pondlife.me> | Wed Aug 01 09:07:09 2007 +0000 |
committer | Steve Bavin <pondlife@pondlife.me> | Wed Aug 01 09:07:09 2007 +0000 |
tree | 6915a12a18af287d923e0fba639171c8912255e8 | |
parent | f7f8ee1645995b985563a7244d345b8490886cb6 [diff] |
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
diff --git a/uisimulator/sdl/kernel.c b/uisimulator/sdl/kernel.c index 98d509f..b2bf770 100644 --- a/uisimulator/sdl/kernel.c +++ b/uisimulator/sdl/kernel.c
@@ -191,7 +191,7 @@ if(q->send) { struct thread_entry **spp = &q->send->senders[wr]; - struct thread_entry sender; + static struct thread_entry sender; if(*spp) {