Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/librumpuser Ensure that rumpuser_thread_exit doesn't ret...
details: https://anonhg.NetBSD.org/src/rev/cc5483b1878a
branches: trunk
changeset: 765264:cc5483b1878a
user: joerg <joerg%NetBSD.org@localhost>
date: Mon May 23 20:49:08 2011 +0000
description:
Ensure that rumpuser_thread_exit doesn't return.
diffstat:
lib/librumpuser/rumpuser_pth_dummy.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r eea4cc30c6c3 -r cc5483b1878a lib/librumpuser/rumpuser_pth_dummy.c
--- a/lib/librumpuser/rumpuser_pth_dummy.c Mon May 23 20:43:02 2011 +0000
+++ b/lib/librumpuser/rumpuser_pth_dummy.c Mon May 23 20:49:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rumpuser_pth_dummy.c,v 1.1 2010/02/26 18:54:20 pooka Exp $ */
+/* $NetBSD: rumpuser_pth_dummy.c,v 1.2 2011/05/23 20:49:08 joerg Exp $ */
/*
* Copyright (c) 2009 Antti Kantee. All Rights Reserved.
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
#if !defined(lint)
-__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.1 2010/02/26 18:54:20 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_pth_dummy.c,v 1.2 2011/05/23 20:49:08 joerg Exp $");
#endif /* !lint */
#include <sys/time.h>
@@ -97,6 +97,8 @@
rumpuser_thread_exit(void)
{
+ fprintf(stderr, "rumpuser: threads not available\n");
+ abort();
}
void
Home |
Main Index |
Thread Index |
Old Index