Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 80 → Rev 84

/shark/tags/rel_0_4/include/modules/posix.h
21,11 → 21,11
 
/**
------------
CVS : $Id: posix.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
CVS : $Id: posix.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 compatible with POSIX
96,8 → 96,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);
 
 
112,8 → 114,11
/*+ 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 POSIX_register_level(TIME slice,
struct multiboot_info *mb used if createmain specified
 
returns the level number at which the module has been registered.
+*/
LEVEL POSIX_register_level(TIME slice,
int createmain,
struct multiboot_info *mb,
int prioritylevels);
140,6 → 145,7
/*+ this functions sets paramaters of a task +*/
int POSIX_setschedparam(LEVEL l, PID p, int policy, int priority);
 
__END_DECLS
#endif
 
/*