From cc889e9d608e6b07b78541849b7e63b6fb3f6058 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 5 Mar 2011 17:48:06 +0000 Subject: 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 --- apps/plugin.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/plugin.c') diff --git a/apps/plugin.c b/apps/plugin.c index 192488ef81..3807ad5d76 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) -- cgit v1.2.3