Subversion Repositories shark

Compare Revisions

Regard whitespace Rev 1388 → Rev 1547

/demos/trunk/base/preempt.c
34,7 → 34,7
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*
* CVS : $Id: preempt.c,v 1.3 2004-04-19 14:48:05 giacomo Exp $
* CVS : $Id: preempt.c,v 1.4 2005-01-08 14:31:38 pj Exp $
 
CBS test with preemption disabling
 
109,7 → 109,7
if (p == NIL)
{
sys_shutdown_message("Can't create save task...\n");
sys_end();
exit(1);
}
 
soft_task_def_skip_arrivals(m_aper);
119,7 → 119,7
if (p == NIL)
{
sys_shutdown_message("Can't create skip task...\n");
sys_end();
exit(1);
}
 
p = task_create("blocker", blocker, &m, NULL);
126,7 → 126,7
if (p == NIL)
{
sys_shutdown_message("Can't create blocker task...\n");
sys_end();
exit(1);
}
 
cprintf("main : save & skip tasks activated.\n");