Module Name: src
Committed By: pooka
Date: Mon Nov 9 19:02:49 UTC 2009
Modified Files:
src/sys/rump/librump/rumpkern: threads.c
Log Message:
adjust comment for previous
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/librump/rumpkern/threads.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/librump/rumpkern/threads.c
diff -u src/sys/rump/librump/rumpkern/threads.c:1.2 src/sys/rump/librump/rumpkern/threads.c:1.3
--- src/sys/rump/librump/rumpkern/threads.c:1.2 Mon Nov 9 19:00:52 2009
+++ src/sys/rump/librump/rumpkern/threads.c Mon Nov 9 19:02:49 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: threads.c,v 1.2 2009/11/09 19:00:52 pooka Exp $ */
+/* $NetBSD: threads.c,v 1.3 2009/11/09 19:02:49 pooka Exp $ */
/*
* Copyright (c) 2007-2009 Antti Kantee. All Rights Reserved.
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: threads.c,v 1.2 2009/11/09 19:00:52 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: threads.c,v 1.3 2009/11/09 19:02:49 pooka Exp $");
#include <sys/param.h>
#include <sys/kmem.h>
@@ -56,11 +56,11 @@
void (*f)(void *);
void *thrarg;
- /* schedule ourselves first */
f = k->f;
thrarg = k->arg;
rumpuser_free(k);
+ /* schedule ourselves */
rumpuser_set_curlwp(l);
rump_schedule();