Module Name:    src
Committed By:   pooka
Date:           Mon Jan 10 14:05:04 UTC 2011

Modified Files:
        src/tests/rump/rumpkern/h_client: h_stresscli.c

Log Message:
Don't use printf in a signal handler.

XXX: it would be nice if the deadlock with malloc were a little
more obvious, especially since gdb doesn't provide any clues unless
you compile libpthread with -g


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/rump/rumpkern/h_client/h_stresscli.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/rump/rumpkern/h_client/h_stresscli.c
diff -u src/tests/rump/rumpkern/h_client/h_stresscli.c:1.2 src/tests/rump/rumpkern/h_client/h_stresscli.c:1.3
--- src/tests/rump/rumpkern/h_client/h_stresscli.c:1.2	Thu Jan  6 06:59:25 2011
+++ src/tests/rump/rumpkern/h_client/h_stresscli.c	Mon Jan 10 14:05:03 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: h_stresscli.c,v 1.2 2011/01/06 06:59:25 pooka Exp $	*/
+/*	$NetBSD: h_stresscli.c,v 1.3 2011/01/10 14:05:03 pooka Exp $	*/
 
 #include <sys/types.h>
 #include <sys/atomic.h>
@@ -22,8 +22,6 @@
 signaali(int sig)
 {
 
-	membar_consumer();
-	printf("process did %d syscalls\n", syscalls);
 	_exit(0);
 }
 

Reply via email to