diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-27 18:46:09 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-27 18:46:09 +0000 |
| commit | deb1600bbc4d0e04f4560186fb665dc95b908e14 (patch) | |
| tree | 455eb190bca5646be747d3a59d03122aa9c2b9ff /firmware/export/thread.h | |
| parent | 0dcf93ed18fe972198011246f27f9137fa863dd4 (diff) | |
| download | rockbox-deb1600bbc4d0e04f4560186fb665dc95b908e14.zip rockbox-deb1600bbc4d0e04f4560186fb665dc95b908e14.tar.gz rockbox-deb1600bbc4d0e04f4560186fb665dc95b908e14.tar.bz2 rockbox-deb1600bbc4d0e04f4560186fb665dc95b908e14.tar.xz | |
SDL Simulator: Get thread shutdown and properly handled and fix a minor memory leak that happens when threads exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26336 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/thread.h')
| -rw-r--r-- | firmware/export/thread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/export/thread.h b/firmware/export/thread.h index a473e3a..9678c04 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h @@ -122,6 +122,7 @@ struct regs struct regs { void *t; /* Simulator OS thread */ + void *told; /* Last thread in slot (explained in thead-sdl.c) */ void *s; /* Semaphore for blocking and wakeup */ void (*start)(void); /* Start function */ }; |