forked from len0rd/rockbox
remove_tread() -> remove_thread()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4788 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e61f6fa599
commit
cac729ef82
2 changed files with 2 additions and 2 deletions
|
@ -228,7 +228,7 @@ struct plugin_api {
|
||||||
#endif
|
#endif
|
||||||
void (*plugin_tsr)(void (*exit_callback)(void));
|
void (*plugin_tsr)(void (*exit_callback)(void));
|
||||||
int (*create_thread)(void* function, void* stack, int stack_size, char *name);
|
int (*create_thread)(void* function, void* stack, int stack_size, char *name);
|
||||||
void (*remove_tread)(int threadnum);
|
void (*remove_thread)(int threadnum);
|
||||||
void (*lcd_set_contrast)(int x);
|
void (*lcd_set_contrast)(int x);
|
||||||
|
|
||||||
/* playback control */
|
/* playback control */
|
||||||
|
|
|
@ -171,7 +171,7 @@ int create_thread(void* function, void* stack, int stack_size, char *name)
|
||||||
regs->pr = function;
|
regs->pr = function;
|
||||||
|
|
||||||
wake_up_thread();
|
wake_up_thread();
|
||||||
return num_threads++; /* return the current ID, e.g for remove_tread() */
|
return num_threads++; /* return the current ID, e.g for remove_thread() */
|
||||||
}
|
}
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------
|
/*---------------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue