From dab751ab3d3f7d4901535794215191255701ef97 Mon Sep 17 00:00:00 2001 From: bernie Date: Tue, 26 Oct 2004 09:01:15 +0000 Subject: [PATCH] monitor_rename(): New function. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@262 38d2e660-2303-0410-9eaa-f027e97ec537 --- kern/monitor.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kern/monitor.c b/kern/monitor.c index 80a77329..305b3428 100755 --- a/kern/monitor.c +++ b/kern/monitor.c @@ -14,6 +14,9 @@ /*#* *#* $Log$ + *#* Revision 1.2 2004/10/26 09:01:15 bernie + *#* monitor_rename(): New function. + *#* *#* Revision 1.1 2004/10/03 20:39:03 bernie *#* Import in DevLib. *#* @@ -61,6 +64,11 @@ void monitor_remove(Process* proc) REMOVE(&proc->monitor.link); } +void monitor_rename(Process *proc, const char* name) +{ + proc->monitor.name = name; +} + #define MONITOR_NODE_TO_PROCESS(node) \ (struct Process*)((char*)(node) - offsetof(struct Process, monitor.link)) -- 2.25.1