From a784017154df4320114e044c4b7eda76ea0a2a9a Mon Sep 17 00:00:00 2001 From: rasky Date: Wed, 14 Jul 2004 14:18:09 +0000 Subject: [PATCH] =?utf8?q?Merge=20da=20SC:=20Rimosso=20timer=20dentro=20il?= =?utf8?q?=20task,=20che=20=C3=A8=20uno=20spreco=20di=20memoria=20per=20tr?= =?utf8?q?oppi=20task?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://src.develer.com/svnoss/bertos/trunk@48 38d2e660-2303-0410-9eaa-f027e97ec537 --- kern/proc.c | 7 +++---- kern/proc_p.h | 8 +++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/kern/proc.c b/kern/proc.c index 99f844bf..613cf58d 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,9 @@ /* * $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 * @@ -75,10 +78,6 @@ static void proc_init_struct(Process* proc) /* Avoid warning for unused argument */ (void)proc; -#if CONFIG_KERN_TIMER - event_initSignal(&proc->proc_timer.expire, proc, SIG_SINGLE); -#endif - #if CONFIG_KERN_SIGNALS proc->sig_recv = 0; #endif diff --git a/kern/proc_p.h b/kern/proc_p.h index 4e9ee6f7..812131bd 100755 --- a/kern/proc_p.h +++ b/kern/proc_p.h @@ -15,6 +15,9 @@ /* * $Log$ + * Revision 1.3 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.2 2004/06/03 11:27:09 bernie * Add dual-license information. * @@ -42,7 +45,6 @@ #include "config.h" #include "config_kern.h" #include -#include typedef struct Process @@ -55,10 +57,6 @@ typedef struct Process sigset_t sig_recv; /*!< Received signals */ #endif -#if CONFIG_KERN_TIMER - struct Timer proc_timer; /*!< Process own timer */ -#endif - #if CONFIG_KERN_HEAP uint16_t flags; /*!< Flags */ cpustack_t *stack_base; /*!< Base of process stack */ -- 2.25.1