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:
Miika Pekkarinen 2007-03-28 07:33:40 +00:00
parent c7f5cccd3e
commit b4a2d6a06a

View file

@ -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;
} }