We have to use dprintf_no_syslog() in the scheduler, as all code is executed
with the threads spinlock held. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34629 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5b7dad76dd
commit
ec1dcae8cd
@ -16,6 +16,7 @@
|
||||
#include <OS.h>
|
||||
|
||||
#include <cpu.h>
|
||||
#include <debug.h>
|
||||
#include <int.h>
|
||||
#include <kernel.h>
|
||||
#include <kscheduler.h>
|
||||
@ -31,7 +32,7 @@
|
||||
|
||||
//#define TRACE_SCHEDULER
|
||||
#ifdef TRACE_SCHEDULER
|
||||
# define TRACE(x) dprintf x
|
||||
# define TRACE(x) dprintf_no_syslog x
|
||||
#else
|
||||
# define TRACE(x) ;
|
||||
#endif
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <OS.h>
|
||||
|
||||
#include <cpu.h>
|
||||
#include <debug.h>
|
||||
#include <int.h>
|
||||
#include <kernel.h>
|
||||
#include <kscheduler.h>
|
||||
@ -28,7 +29,7 @@
|
||||
|
||||
//#define TRACE_SCHEDULER
|
||||
#ifdef TRACE_SCHEDULER
|
||||
# define TRACE(x) dprintf x
|
||||
# define TRACE(x) dprintf_no_syslog x
|
||||
#else
|
||||
# define TRACE(x) ;
|
||||
#endif
|
||||
|
@ -14,6 +14,7 @@
|
||||
#include <OS.h>
|
||||
|
||||
#include <cpu.h>
|
||||
#include <debug.h>
|
||||
#include <int.h>
|
||||
#include <kernel.h>
|
||||
#include <kscheduler.h>
|
||||
@ -29,7 +30,7 @@
|
||||
|
||||
//#define TRACE_SCHEDULER
|
||||
#ifdef TRACE_SCHEDULER
|
||||
# define TRACE(x) dprintf x
|
||||
# define TRACE(x) dprintf_no_syslog x
|
||||
#else
|
||||
# define TRACE(x) ;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user