mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Create queue stuff before the thread that will use it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15328 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
14b6f437bb
commit
2c1e8283aa
1 changed files with 3 additions and 3 deletions
|
@ -1195,13 +1195,13 @@ void buffering_init(void) {
|
|||
conf_filechunk = BUFFERING_DEFAULT_FILECHUNK;
|
||||
conf_watermark = BUFFERING_DEFAULT_WATERMARK;
|
||||
|
||||
queue_init(&buffering_queue, true);
|
||||
queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list);
|
||||
|
||||
buffering_thread_p = create_thread( buffering_thread, buffering_stack,
|
||||
sizeof(buffering_stack), 0,
|
||||
buffering_thread_name IF_PRIO(, PRIORITY_BUFFERING)
|
||||
IF_COP(, CPU));
|
||||
|
||||
queue_init(&buffering_queue, true);
|
||||
queue_enable_queue_send(&buffering_queue, &buffering_queue_sender_list);
|
||||
}
|
||||
|
||||
/* Initialise the buffering subsystem */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue