Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 80 → Rev 84

/shark/tags/rel_0_4/include/modules/pc.h
21,11 → 21,11
 
/**
------------
CVS : $Id: pc.h,v 1.1.1.1 2002-03-29 14:12:51 pj Exp $
CVS : $Id: pc.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 Priority Ceiling (PC) Protocol
92,9 → 92,12
 
#include <kernel/types.h>
#include <kernel/descr.h>
#include "ll/sys/cdefs.h"
 
void PC_register_module(void);
__BEGIN_DECLS
 
RLEVEL PC_register_module(void);
 
/*+ This function gets the ceiling of a PC mutex, and it have to be called
only by a task that owns the mutex.
Returns -1 if the mutex is not a PC mutex, 0 otherwise +*/
108,4 → 111,5
/*+ This function sets the ceiling of a task +*/
void PC_set_task_ceiling(RLEVEL r, PID p, DWORD priority);
 
__END_DECLS
#endif