Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1377 → Rev 1376

/demos/trunk/base/pidemo.c
34,7 → 34,7
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* CVS : $Id: pidemo.c,v 1.3 2004-04-17 11:36:14 giacomo Exp $
* CVS : $Id: pidemo.c,v 1.2 2003-01-07 17:10:15 pj Exp $
 
This test verify the correctness of the PI module.
 
77,8 → 77,6
HARD_TASK_MODEL m;
PID p2,p3;
 
struct timespec t;
 
PI_mutexattr_t a;
 
hard_task_default_model(m);
112,12 → 110,5
mutex_destroy(&m1);
cprintf("main after mutex_destroy\n");
 
do {
sys_gettime(&t);
} while (t.tv_sec < 10);
 
sys_end();
 
return 0;
 
}