Added non working functions estimate_max_scheduling_latency and suggest_thread_priority
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9896 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,6 +15,7 @@ KernelMergeObject os_main.o :
|
||||
image.c
|
||||
parsedate.cpp
|
||||
port.c
|
||||
scheduler.c
|
||||
sem.c
|
||||
system_info.c
|
||||
team.c
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
** Copyright 2004, Jérôme Duval, [email protected]. All rights reserved.
|
||||
** Distributed under the terms of the Haiku License.
|
||||
*/
|
||||
|
||||
|
||||
#include <scheduler.h>
|
||||
|
||||
int32
|
||||
suggest_thread_priority(uint32 what, int32 period, bigtime_t jitter, bigtime_t length)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
bigtime_t
|
||||
estimate_max_scheduling_latency(thread_id th)
|
||||
{
|
||||
if (th == -1)
|
||||
th = find_thread(NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user