diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-03-05 17:48:06 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-03-05 17:48:06 +0000 |
| commit | cc889e9d608e6b07b78541849b7e63b6fb3f6058 (patch) | |
| tree | ea01a47602b68561d294f705e8ab7669fb00ae9a /apps/plugin.c | |
| parent | 0b0f99b18ebe6305c9cab12bf8b36d154fc9c87f (diff) | |
| download | rockbox-cc889e9d608e6b07b78541849b7e63b6fb3f6058.zip rockbox-cc889e9d608e6b07b78541849b7e63b6fb3f6058.tar.gz rockbox-cc889e9d608e6b07b78541849b7e63b6fb3f6058.tar.bz2 rockbox-cc889e9d608e6b07b78541849b7e63b6fb3f6058.tar.xz | |
Change the thread api a bit.
* Remove THREAD_ID_CURRENT macro in favor of a thread_self() function, this allows thread functions to be simpler.
* thread_self_entry() shortcut for kernel.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29521 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 192488e..3807ad5 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -779,6 +779,7 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ + thread_self, }; int plugin_load(const char* plugin, const void* parameter) |