Merge da SC: Rimosso timer dentro il task, che è uno spreco di memoria per troppi...
[bertos.git] / kern / proc.c
index a11e4985774ce4c05d1763972a50564082ec411a..613cf58d73b1d2490f5c39b3a448caee52c23421 100755 (executable)
@@ -1,9 +1,9 @@
-/**
+/*!
  * \file
  * <!--
  * Copyright 2001,2004 Develer S.r.l. (http://www.develer.com/)
  * Copyright 1999,2000,2001 Bernardo Innocenti <bernie@develer.com>
- * All Rights Reserved.
+ * This file is part of DevLib - See devlib/README for information.
  * -->
  *
  * \brief Simple realtime multitasking scheduler.
 
 /*
  * $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;