Enabled the single ordered queue scheduler and made some little fixes

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1804 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
lillo
2002-10-31 13:20:00 +00:00
parent 6ac523ea9b
commit 5e7d6a17a0
7 changed files with 42 additions and 193 deletions
-9
View File
@@ -13,9 +13,6 @@ extern "C" {
#include <arch/thread.h>
#include <signal.h>
// Uncomment the line below to compile the single-queue scheduler
//#define NEW_SCHEDULER
void resched(void);
void start_scheduler(void);
@@ -27,13 +24,7 @@ void thread_enqueue(struct thread *t, struct thread_queue *q);
struct thread *thread_lookat_queue(struct thread_queue *q);
struct thread *thread_dequeue(struct thread_queue *q);
struct thread *thread_dequeue_id(struct thread_queue *q, thread_id thr_id);
#ifndef NEW_SCHEDULER
struct thread *thread_lookat_run_q(int priority);
#endif /* not NEW_SCHEDULER */
void thread_enqueue_run_q(struct thread *t);
#ifndef NEW_SCHEDULER
struct thread *thread_dequeue_run_q(int priority);
#endif /* not NEW_SCHEDULER */
void thread_atkernel_entry(void);
// called when the thread enters the kernel on behalf of the thread
void thread_atkernel_exit(void);