Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 80 → Rev 84

/shark/tags/rel_0_4/include/modules/rr.h
21,11 → 21,11
 
/**
------------
CVS : $Id: rr.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
CVS : $Id: rr.h,v 1.3 2003-03-13 13:39:04 pj Exp $
 
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2002-03-29 14:12:51 $
Revision: $Revision: 1.3 $
Last update: $Date: 2003-03-13 13:39:04 $
------------
 
This file contains the scheduling module RR (Round Robin)
95,8 → 95,10
#include <kernel/config.h>
#include <sys/types.h>
#include <kernel/types.h>
#include <modules/codes.h>
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
extern TASK __init__(void *arg);
 
 
111,9 → 113,12
/*+ Registration function:
TIME slice the slice for the Round Robin queue
int createmain 1 if the level creates the main task 0 otherwise
struct multiboot_info *mb used if createmain specified +*/
void RR_register_level(TIME slice,
struct multiboot_info *mb used if createmain specified
 
returns the level number at which the module has been registered.
+*/
LEVEL RR_register_level(TIME slice,
int createmain,
struct multiboot_info *mb);
 
__END_DECLS
#endif