From owner-freebsd-threads@FreeBSD.ORG Tue Jul 15 11:01:09 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F80937B401 for ; Tue, 15 Jul 2003 11:01:09 -0700 (PDT) Received: from h00609772adf0.ne.client2.attbi.com (h00609772adf0.ne.client2.attbi.com [66.31.45.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDCBD43F85 for ; Tue, 15 Jul 2003 11:01:05 -0700 (PDT) (envelope-from rodrigc@crodrigues.org) Received: from h00609772adf0.ne.client2.attbi.com (localhost.ne.attbi.com [127.0.0.1])h6FI2Grx099816 for ; Tue, 15 Jul 2003 14:02:17 -0400 (EDT) (envelope-from rodrigc@h00609772adf0.ne.client2.attbi.com) Received: (from rodrigc@localhost)h6FI2G3s099815 for freebsd-threads@freebsd.org; Tue, 15 Jul 2003 14:02:16 -0400 (EDT) Date: Tue, 15 Jul 2003 14:02:16 -0400 From: Craig Rodrigues To: freebsd-threads@freebsd.org Message-ID: <20030715180216.GA99807@crodrigues.org> References: <20030411234140.GA51044@attbi.com> <20030715175141.GA99650@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030715175141.GA99650@crodrigues.org> User-Agent: Mutt/1.4i Subject: Re: ACE Proactor and libkse X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 18:01:09 -0000 Hi, One thing I forgot to mention is that in order for the Proactor_Test to work, you need to either kldload aio, or set option VFS_AIO in your kernel config, because POSIX asynch I/O is not in the default kernel build. On Tue, Jul 15, 2003 at 01:51:41PM -0400, Craig Rodrigues wrote: > On Fri, Apr 11, 2003 at 07:51:49PM -0400, Daniel Eischen wrote: > > > > > > > > libkse libc_r > > > > ACE 5.3.1 Test Pass? Pass? > > > > ------------------------------------------------ > > > > Cached_Conn_Test No No > > > > Conn_Test No Yes > > > > MT_Reactor_Timer_Test No Yes > > > > Malloc_Test No No > > > > Proactor_Test No No > > > > Proactor_Timer_Test No No > > > Hi, > > I just contributed a patch to ACE which I believe fixes > the Proactor_Test under FreeBSD. The Proactor_Test seems > to *only* work with with KSE, i.e. I specified that libkse > should be used in my /etc/libmap.conf. > > If anyone is interested in trying this out, you can check out > the head of the ACE CVS repository by doing: > > (0) Make sure that /etc/libmap.conf is configured to use libkse > (1) cvs -d :pserver:anonymous@anoncvs.ociweb.com:/cvs login > (2) (just press when prompted for password) > (3) cvs -d :pserver:anonymous@anoncvs.ociweb.com:/cvs co ACE > (4) Set the environment ACE_ROOT environment variable to the root > directory of where all the ACE files get extracted to > (5) Set the environment variable LD_LIBRARY_PATH to $ACE_ROOT/ace > (6) Create a file $ACE_ROOT/ace/config.h with one line: > #include "ace/config-freebsd.h" > (7) Create a file $ACE_ROOT/include/makeinclude/platform_macros.GNU with one line: > include $(ACE_ROOT)/include/makeinclude/platform_freebsd.GNU > > > (8) cd $ACE_ROOT; gmake > (9) cd $ACE_ROOT/tests ; run_tests.pl > > > What is the status of KSE + signals? Signals seem to make a big difference > with the ACE Proactor. The Proactor_Test seems to work with libkse, > but not libc_r, and I think it is due to signals. > > Thanks. > -- > Craig Rodrigues > http://crodrigues.org > rodrigc@crodrigues.org -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org