20,11 → 20,11 |
|
/** |
------------ |
CVS : $Id: pistar.c,v 1.4 2004-09-06 06:31:45 trimarchi Exp $ |
CVS : $Id: pistar.c,v 1.5 2004-09-06 08:58:05 trimarchi Exp $ |
|
File: $File$ |
Revision: $Revision: 1.4 $ |
Last update: $Date: 2004-09-06 06:31:45 $ |
Revision: $Revision: 1.5 $ |
Last update: $Date: 2004-09-06 08:58:05 $ |
------------ |
|
Priority Inhertitance protocol. see pi.h for more details... |
179,7 → 179,7 |
fsf_server_id_t server; |
|
f = kern_fsave(); |
|
//kern_printf("(PISTAR lock)"); |
p = (PISTAR_mutex_t *)m->opt; |
if (!p) { |
/* if the mutex is not initialized, return an error! */ |
223,6 → 223,7 |
|
/* if we are here, we have budget for critical section */ |
/* Set the task no preemptive for the localscheduler */ |
//kern_printf("(PISTAR NP %d", exec_shadow); |
fsf_settask_nopreemptive(&server, exec_shadow); |
|
/* the mutex is free, We can lock it! */ |
306,7 → 307,7 |
|
/* { |
int xxx; |
kern_printf("(PISTAR_unlock owner=%d ",p->owner); |
//kern_printf("(PISTAR_unlock owner=%d ",p->owner); |
for (xxx = 0; xxx<5; xxx++) kern_printf("p%d s%d|",xxx, proc_table[xxx].shadow); |
kern_printf(")\n"); |
}*/ |