Fixed minor bug when compiling in debug mode.
git-svn-id: http://yate.null.ro/svn/yate/trunk@407 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
bdc749b158
commit
88287791d7
|
@ -22,6 +22,8 @@
|
|||
|
||||
#include "yateclass.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include <process.h>
|
||||
typedef unsigned long HTHREAD;
|
||||
|
@ -114,7 +116,7 @@ ThreadPrivate* ThreadPrivate::create(Thread* t,const char* name,Thread::Priority
|
|||
if (!err)
|
||||
err = ::pthread_attr_setschedparam(&attr,¶m);
|
||||
if (err) {
|
||||
DDebug("Could not set thread scheduling parameters: %s (%d)",
|
||||
DDebug(DebugWarn,"Could not set thread scheduling parameters: %s (%d)",
|
||||
strerror(err),err);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue