X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=kern%2Fproc.c;h=613cf58d73b1d2490f5c39b3a448caee52c23421;hb=a784017154df4320114e044c4b7eda76ea0a2a9a;hp=a11e4985774ce4c05d1763972a50564082ec411a;hpb=1cc167e20f21d2e81527ca47ccd4a21a6198f86f;p=bertos.git diff --git a/kern/proc.c b/kern/proc.c index a11e4985..613cf58d 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -1,9 +1,9 @@ -/** +/*! * \file * * * \brief Simple realtime multitasking scheduler. @@ -17,6 +17,18 @@ /* * $Log$ + * Revision 1.5 2004/07/14 14:18:09 rasky + * Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi task + * + * Revision 1.4 2004/07/13 19:21:28 aleph + * Avoid warning for unused arg when compiled without some CONFIG_KERN_xx options + * + * Revision 1.3 2004/06/06 18:37:57 bernie + * Rename event macros to look like regular functions. + * + * Revision 1.2 2004/06/03 11:27:09 bernie + * Add dual-license information. + * * Revision 1.1 2004/05/23 17:27:00 bernie * Import kern/ subdirectory. * @@ -63,9 +75,8 @@ struct Process MainProcess; static void proc_init_struct(Process* proc) { -#if CONFIG_KERN_TIMER - INITEVENT_SIG(&proc->proc_timer.expire, proc, SIG_SINGLE); -#endif + /* Avoid warning for unused argument */ + (void)proc; #if CONFIG_KERN_SIGNALS proc->sig_recv = 0;