/shark/trunk/kernel/modules/pc.c |
---|
20,11 → 20,11 |
/** |
------------ |
CVS : $Id: pc.c,v 1.4 2003-11-05 15:04:14 giacomo Exp $ |
CVS : $Id: pc.c,v 1.5 2003-11-05 19:16:38 giacomo Exp $ |
File: $File$ |
Revision: $Revision: 1.4 $ |
Last update: $Date: 2003-11-05 15:04:14 $ |
Revision: $Revision: 1.5 $ |
Last update: $Date: 2003-11-05 19:16:38 $ |
------------ |
Priority Ceiling protocol. see pc.h for more details... |
297,7 → 297,7 |
kern_context_load(proc_table[exec_shadow].context); |
/* ... and reaquire the cli() before the test... */ |
f = kern_fsave(); |
kern_cli(); |
} |
/* the mutex is free, We can lock it! */ |
/shark/trunk/kernel/modules/pi.c |
---|
20,11 → 20,11 |
/** |
------------ |
CVS : $Id: pi.c,v 1.3 2003-11-05 15:04:14 giacomo Exp $ |
CVS : $Id: pi.c,v 1.4 2003-11-05 19:16:39 giacomo Exp $ |
File: $File$ |
Revision: $Revision: 1.3 $ |
Last update: $Date: 2003-11-05 15:04:14 $ |
Revision: $Revision: 1.4 $ |
Last update: $Date: 2003-11-05 19:16:39 $ |
------------ |
Priority Inhertitance protocol. see pi.h for more details... |
183,7 → 183,7 |
if (p->owner == exec_shadow) { |
/* the task already owns the mutex */ |
kern_frestore(f); |
kern_cli(f); |
return (EDEADLK); |
} |