Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1388 → Rev 1123

/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.2 2003-01-07 17:10:15 pj Exp $
 
CBS test with preemption disabling
 
108,7 → 108,7
p = task_create("save", periodic, &m_aper, NULL);
if (p == NIL)
{
sys_shutdown_message("Can't create save task...\n");
perror("Can't create save task...\n");
sys_end();
}
 
118,7 → 118,7
p = task_create("skip", periodic, &m_aper, NULL);
if (p == NIL)
{
sys_shutdown_message("Can't create skip task...\n");
perror("Can't create skip task...\n");
sys_end();
}
 
125,7 → 125,7
p = task_create("blocker", blocker, &m, NULL);
if (p == NIL)
{
sys_shutdown_message("Can't create blocker task...\n");
perror("Can't create blocker task...\n");
sys_end();
}