Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2004 17:13:08 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: easy to reproduce unkillable threads
Message-ID:  <16731.9572.915356.122446@grasshopper.cs.duke.edu>
In-Reply-To: <415B1ED6.8010809@elischer.org>
References:  <16728.37731.540143.307772@grasshopper.cs.duke.edu> <41589B4A.9080508@elischer.org> <415AB791.10809@freebsd.org> <16730.48642.4481.841374@grasshopper.cs.duke.edu> <415B13E8.2090205@elischer.org> <16731.6010.446877.347190@grasshopper.cs.duke.edu> <415B1ED6.8010809@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Julian Elischer writes:
 > 
 > while you are about it.. try this:

No change for me..

 > diff -u -r1.199 kern_thread.c
 > --- kern/kern_thread.c  25 Sep 2004 00:53:46 -0000      1.199
 > +++ kern/kern_thread.c  29 Sep 2004 19:45:56 -0000
 > @@ -282,13 +282,13 @@
 >  * Initialize type-stable parts of a ksegrp (when newly created).
 >  */
 > static int
 > -ksegrp_init(void *mem, int size, int flags)
 > +ksegrp_ctor(void *mem, int size, int flags)

It actually needs a *arg to be a valid ctor..

-ksegrp_init(void *mem, int size, int flags)
+ksegrp_ctor(void *mem, int size, void *arg, int flags)


I'm cvsupping to HEAD right now to see if I can still reproduce it.

Drew



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16731.9572.915356.122446>