Subversion Repositories shark

Compare Revisions

Regard whitespace Rev 1117 → Rev 1086

/demos/trunk/fsdemo/xread.c
204,11 → 204,8
nv=n;
n=filledspace(ptr)/objsize;
if (n==0) {
struct timespec delay;
delay.tv_sec=0;
delay.tv_nsec=15000000;
n=nv;
nanosleep(&delay, 0);
task_delay(15000);
goto REDO;
return 0;
}
/demos/trunk/fsdemo/mplay.c
36,11 → 36,11
*/
 
/*
* CVS : $Id: mplay.c,v 1.2 2002-11-11 08:17:31 pj Exp $
* CVS : $Id: mplay.c,v 1.1.1.1 2002-09-02 09:37:41 pj Exp $
*
* File: $File$
* Revision: $Revision: 1.2 $
* Last update: $Date: 2002-11-11 08:17:31 $
* Revision: $Revision: 1.1.1.1 $
* Last update: $Date: 2002-09-02 09:37:41 $
*/
 
#include "config.h"
66,7 → 66,6
 
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
 
#include "gclock.h"
#include "gvideo.h"
366,13 → 365,6
if (grp>0) group_activate(grp);
 
esc=0;
 
{
struct timespec delay;
 
delay.tv_sec = MAINSLEEP/1000000;
delay.tv_nsec = (MAINSLEEP%1000000)*1000;
 
while (!esc) {
if (keyb_getcode(&k,NON_BLOCK)) {
if(k.ascii==13) esc=1;
380,9 → 372,8
else if (k.ascii=='s') task_activate(ph2);
else if (k.ascii=='d') task_activate(ph3);
}
nanosleep(&delay, NULL);
task_delay(MAINSLEEP);
}
}
 
#ifndef NOGRX
grx_close();