1
0
Fork 0
forked from len0rd/rockbox

Phase in thread_wait when waiting for a thread to exit. Begin phasing out the spinlock object for general use; it will become a multicore-only object for core locking. Take care of plugins first.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15260 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-10-22 05:57:38 +00:00
parent 344c41f644
commit 7e12bba0d2
6 changed files with 40 additions and 37 deletions

View file

@ -512,10 +512,12 @@ static const struct plugin_api rockbox_api = {
the API gets incompatible */
#if (CONFIG_CODEC == SWCODEC)
spinlock_init,
spinlock_lock,
spinlock_unlock,
mutex_init,
mutex_lock,
mutex_unlock,
#endif
thread_wait,
};
int plugin_load(const char* plugin, void* parameter)