Date: Fri, 04 Mar 2005 07:37:04 +0800 From: David Xu <davidxu@freebsd.org> To: Jeremy Messenger <mezz7@cox.net> Cc: freebsd-threads@freebsd.org Subject: Re: Mono's XSP crashes on browser connection Message-ID: <42279FA0.2020007@freebsd.org> In-Reply-To: <opsm2si1b99aq2h7@mezz.mezzweb.com> References: <1109551418.782.30.camel@compass.straycat.dhs.org> <1109742079.777.15.camel@compass.straycat.dhs.org> <422649AF.5090606@freebsd.org> <1109833505.777.80.camel@compass.straycat.dhs.org> <4226B9DC.7040405@freebsd.org> <1109835366.777.95.camel@compass.straycat.dhs.org> <42272009.507@freebsd.org> <20050303151544.GA2518@crodrigues.org> <opsm2si1b99aq2h7@mezz.mezzweb.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Messenger wrote: > On Thu, 3 Mar 2005 10:15:44 -0500, Craig Rodrigues > <rodrigc@crodrigues.org> wrote: > >> On Thu, Mar 03, 2005 at 10:32:41PM +0800, David Xu wrote: >> >>> whether _POSIX_THREAD_PROCESS_SHARED is defined or not in >>> source code, but he failed to respect this macro at many places, so >>> the >>> macro is rather bogus. >> > > David, thanks for dig it deeper! So my conclusion is mono can not be used on FreeBSD, because process sharable mutex and condition variable are not supported. it is possible writting a special version of mutex and condition variable for mono by using kernel umtx code, but now umtx is also broken by a FEATURE called swappable kernel stack, otherwise, someone can just pick up code from my private pthread library, http://people.freebsd.org/~davidxu/libthread.tgz in the library, mutex and condition variable structure can be put on shared memory segments, there is no pointer in the structure, only counter and some bit flags. David Xu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42279FA0.2020007>