mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
Killing of threads enabled also for logf debug builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12947 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c7f5cccd3e
commit
b4a2d6a06a
1 changed files with 3 additions and 1 deletions
|
|
@ -167,12 +167,14 @@ static bool dbg_os(void)
|
||||||
gui_synclist_do_button(&lists, action, LIST_WRAP_UNLESS_HELD);
|
gui_synclist_do_button(&lists, action, LIST_WRAP_UNLESS_HELD);
|
||||||
if (action == ACTION_STD_CANCEL)
|
if (action == ACTION_STD_CANCEL)
|
||||||
break;
|
break;
|
||||||
if (action == ACTION_STD_OK)
|
#ifdef ROCKBOX_HAS_LOGF
|
||||||
|
else if (action == ACTION_STD_OK)
|
||||||
{
|
{
|
||||||
struct thread_entry *thread = &threads[gui_synclist_get_sel_pos(&lists)];
|
struct thread_entry *thread = &threads[gui_synclist_get_sel_pos(&lists)];
|
||||||
if (thread->name != NULL)
|
if (thread->name != NULL)
|
||||||
remove_thread(thread);
|
remove_thread(thread);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
else if(default_event_handler(action) == SYS_USB_CONNECTED)
|
else if(default_event_handler(action) == SYS_USB_CONNECTED)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue