Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/librumpuser Disable reduced stack for now. It creates fa...



details:   https://anonhg.NetBSD.org/src/rev/bf684b4f11be
branches:  trunk
changeset: 777926:bf684b4f11be
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Mar 09 21:03:09 2012 +0000

description:
Disable reduced stack for now. It creates fallout I'm not willing to
deal with.

diffstat:

 lib/librumpuser/rumpuser_sp.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r efc2e8491a79 -r bf684b4f11be lib/librumpuser/rumpuser_sp.c
--- a/lib/librumpuser/rumpuser_sp.c     Fri Mar 09 19:46:37 2012 +0000
+++ b/lib/librumpuser/rumpuser_sp.c     Fri Mar 09 21:03:09 2012 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: rumpuser_sp.c,v 1.45 2011/03/08 15:34:37 pooka Exp $  */
+/*      $NetBSD: rumpuser_sp.c,v 1.46 2012/03/09 21:03:09 joerg Exp $  */
 
 /*
  * Copyright (c) 2010, 2011 Antti Kantee.  All Rights Reserved.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: rumpuser_sp.c,v 1.45 2011/03/08 15:34:37 pooka Exp $");
+__RCSID("$NetBSD: rumpuser_sp.c,v 1.46 2012/03/09 21:03:09 joerg Exp $");
 
 #include <sys/types.h>
 #include <sys/atomic.h>
@@ -1145,8 +1145,9 @@
 
        pthread_attr_init(&pattr_detached);
        pthread_attr_setdetachstate(&pattr_detached, PTHREAD_CREATE_DETACHED);
-       /* XXX: doesn't stacksize currently work on NetBSD */
+#if NOTYET
        pthread_attr_setstacksize(&pattr_detached, 32*1024);
+#endif
 
        pthread_mutex_init(&sbamtx, NULL);
        pthread_cond_init(&sbacv, NULL);



Home | Main Index | Thread Index | Old Index