Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 23:21:29 -0700
From:      "Arun Sharma" <arun@sharmas.dhs.org>
To:        "FreeBSD Hackers" <freebsd-hackers@FreeBSD.ORG>
Subject:   RE: MxN threads on Linux
Message-ID:  <DHEDJIFGMBALKGPEKCFKMEDKCAAA.arun@sharmas.dhs.org>
In-Reply-To: <20010516234242.A5242@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> In the last episode (May 16), Arun Sharma said:
> > Ran into this on freshmeat today:
> > 
> > http://oss.software.ibm.com/developerworks/opensource/pthreads/
> > 

For those interested, it took me about an hour to write up
pth_native_freebsd.c (http://sharmas.dhs.org/~adsharma/pth_native_freebsd.c)
to use rfork_thread().

It creates multiple threads just fine, runs for a while and then core
dumps.

#0  0x2810badd in isatty () from /usr/lib/libc.so.5
#1  0x30 in ?? ()
#2  0x1 in ?? ()
#3  0x28079f08 in __DTOR_END__ ()
   from /usr.current/home/adsharma/src/ngpt-0.9.4/.libs/libpthread.so.9
#4  0xe82075c0 in ?? ()

Any hints on what this could be about ? I think getting a working implementation
of thread aware truss/gdb is pretty critical.

	-Arun


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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