minix/servers/sched/proto.h
2010-07-01 08:32:33 +00:00

28 lines
933 B
C

/* Function prototypes. */
struct schedproc;
#include <timers.h>
/* main.c */
_PROTOTYPE( int main, (void) );
_PROTOTYPE( void setreply, (int proc_nr, int result) );
/* schedule.c */
_PROTOTYPE( int do_noquantum, (message *m_ptr) );
_PROTOTYPE( int do_start_scheduling, (message *m_ptr) );
_PROTOTYPE( int do_stop_scheduling, (message *m_ptr) );
_PROTOTYPE( int do_nice, (message *m_ptr) );
/*_PROTOTYPE( void balance_queues, (struct timer *tp) );*/
_PROTOTYPE( void init_scheduling, (void) );
/* utility.c */
_PROTOTYPE( int no_sys, (int who_e, int call_nr) );
_PROTOTYPE( int sched_isokendpt, (int ep, int *proc) );
_PROTOTYPE( int sched_isemtyendpt, (int ep, int *proc) );
_PROTOTYPE( int accept_message, (message *m_ptr) );
/* timers.c */
_PROTOTYPE( void sched_set_timer, (timer_t *tp, int delta,
tmr_func_t watchdog, int arg) );
_PROTOTYPE( void sched_expire_timers, (clock_t now) );