Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser Whitespace fixes, no functional change
details: https://anonhg.NetBSD.org/src/rev/44510f30212b
branches: trunk
changeset: 336123:44510f30212b
user: justin <justin%NetBSD.org@localhost>
date: Fri Feb 13 22:00:53 2015 +0000
description:
Whitespace fixes, no functional change
diffstat:
lib/librumpuser/rumpfiber.c | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diffs (85 lines):
diff -r 1c2007d7a26a -r 44510f30212b lib/librumpuser/rumpfiber.c
--- a/lib/librumpuser/rumpfiber.c Fri Feb 13 21:31:18 2015 +0000
+++ b/lib/librumpuser/rumpfiber.c Fri Feb 13 22:00:53 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpfiber.c,v 1.10 2015/02/13 21:31:18 justin Exp $ */
+/* $NetBSD: rumpfiber.c,v 1.11 2015/02/13 22:00:53 justin Exp $ */
/*
* Copyright (c) 2007-2013 Antti Kantee. All Rights Reserved.
@@ -68,7 +68,7 @@
#include "rumpuser_port.h"
#if !defined(lint)
-__RCSID("$NetBSD: rumpfiber.c,v 1.10 2015/02/13 21:31:18 justin Exp $");
+__RCSID("$NetBSD: rumpfiber.c,v 1.11 2015/02/13 22:00:53 justin Exp $");
#endif /* !lint */
#include <sys/ioctl.h>
@@ -445,11 +445,11 @@
ET(rv);
}
- rumpuser__hyp = *hyp;
+ rumpuser__hyp = *hyp;
init_sched();
- return 0;
+ return 0;
}
int
@@ -639,7 +639,7 @@
int
rumpuser_thread_create(void *(*f)(void *), void *arg, const char *thrname,
- int joinable, int pri, int cpuidx, void **tptr)
+ int joinable, int pri, int cpuidx, void **tptr)
{
struct thread *thr;
@@ -648,31 +648,31 @@
if (!thr)
return EINVAL;
- /*
- * XXX: should be supplied as a flag to create_thread() so as to
- * _ensure_ it's set before the thread runs (and could exit).
- * now we're trusting unclear semantics of create_thread()
- */
- if (thr && joinable)
- thr->flags |= THREAD_MUSTJOIN;
+ /*
+ * XXX: should be supplied as a flag to create_thread() so as to
+ * _ensure_ it's set before the thread runs (and could exit).
+ * now we're trusting unclear semantics of create_thread()
+ */
+ if (thr && joinable)
+ thr->flags |= THREAD_MUSTJOIN;
- *tptr = thr;
- return 0;
+ *tptr = thr;
+ return 0;
}
void
rumpuser_thread_exit(void)
{
- exit_thread();
+ exit_thread();
}
int
rumpuser_thread_join(void *p)
{
- join_thread(p);
- return 0;
+ join_thread(p);
+ return 0;
}
struct rumpuser_mtx {
Home |
Main Index |
Thread Index |
Old Index