forked from len0rd/rockbox
Make scheduler functions thread safe core wise. A big step towards playback running on COP (not yet possible because more protection on file system level is necessary).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12926 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6c487eb5d1
commit
66258a30a4
10 changed files with 368 additions and 148 deletions
|
@ -427,6 +427,8 @@ void usb_init(void)
|
|||
|
||||
#ifndef BOOTLOADER
|
||||
queue_init(&usb_queue, true);
|
||||
queue_set_irq_safe(&usb_queue, true);
|
||||
|
||||
create_thread(usb_thread, usb_stack, sizeof(usb_stack),
|
||||
usb_thread_name IF_PRIO(, PRIORITY_SYSTEM)
|
||||
IF_COP(, CPU, false));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue