forked from len0rd/rockbox
All kernel objects in code shared amongs targets (core, plugins, codecs) should be declared SHAREDBSS_ATTR as any core could potentially touch them even though they seem only to involve threads on one core. The exception is target code for particular CPUs where proper allocation is fixed. playlist.c was a little odd too-- use one mutex for the current playlist and a separate one for created playlists (still pondering the necessity of more than one).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29305 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8f14357064
commit
b15aa47c56
18 changed files with 44 additions and 37 deletions
|
|
@ -95,7 +95,7 @@ enum {
|
|||
static void backlight_thread(void);
|
||||
static long backlight_stack[DEFAULT_STACK_SIZE/sizeof(long)];
|
||||
static const char backlight_thread_name[] = "backlight";
|
||||
static struct event_queue backlight_queue;
|
||||
static struct event_queue backlight_queue SHAREDBSS_ATTR;
|
||||
#ifdef BACKLIGHT_DRIVER_CLOSE
|
||||
static unsigned int backlight_thread_id = 0;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue