Module Name: src
Committed By: joerg
Date: Mon May 23 20:49:09 UTC 2011
Modified Files:
src/lib/librumpuser: rumpuser_pth_dummy.c
Log Message:
Ensure that rumpuser_thread_exit doesn't return.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/librumpuser/rumpuser_pth_dummy.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/librumpuser/rumpuser_pth_dummy.c
diff -u src/lib/librumpuser/rumpuser_pth_dummy.c:1.1 src/lib/librumpuser/rumpuser_pth_dummy.c:1.2
--- src/lib/librumpuser/rumpuser_pth_dummy.c:1.1 Fri Feb 26 18:54:20 2010
+++ src/lib/librumpuser/rumpuser_pth_dummy.c Mon May 23 20:49:08 2011
@@ -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