From owner-freebsd-threads@FreeBSD.ORG Tue Jul 15 16:30:43 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 910A437B401 for ; Tue, 15 Jul 2003 16:30:43 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17FB243F85 for ; Tue, 15 Jul 2003 16:30:43 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([12.233.125.100]) by attbi.com (rwcrmhc13) with ESMTP id <2003071523304201500r5iqpe>; Tue, 15 Jul 2003 23:30:42 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA88543; Tue, 15 Jul 2003 16:30:41 -0700 (PDT) Date: Tue, 15 Jul 2003 16:30:39 -0700 (PDT) From: Julian Elischer To: Craig Rodrigues In-Reply-To: <20030715231600.GA676@crodrigues.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-threads@freebsd.org 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 23:30:43 -0000 On Tue, 15 Jul 2003, Craig Rodrigues wrote: > On Tue, Jul 15, 2003 at 02:24:41PM -0400, Daniel Eischen wrote: > > > > You can also build ACE so that it will use scope system > > threads when it wants (don't define ACE_LACKS_THREAD_PROCESS_SCOPING > > in config-freebsd.h). > > Should this become the default for config-freebsd.h, or should > we leave it alone? I can submit a patch which does something like: > > #if (__FreeBSD_version < 501102 /* or whatever value is appropriate */) > #define ACE_LACKS_THREAD_PROCESS_SCOPING > #endif > > > Yeah, I knew that's why the proactor tests failed; I didn't > > ever bother to load the aio module to see if it would then > > pass. > > The Proactor test now works, but it only works with libkse. > My patch was not signal related: > > Mon Jul 14 11:16:25 2003 Craig Rodrigues > > * ace/POSIX_Proactor.cpp: FreeBSD defines the sysconf value > for _SC_AIO_LISTIO_MAX to 16, and the sysconf value for > _SC_AIO_MAX to be 1024. The lower value must be assigned to > aiocb_list_max_size_ otherwise aio_suspend() will fail. There > was already already some logic in here to support HPUX that also > works for FreeBSD, so use that. > > > > > It could be. Signals are mostly done; there are a few changes > > that David will be checking in really soon that should leave just > > one issue with signals and sigwait() which we are not sure about. > > OK, that's very nice! At what point will the signal support > be good enough to comply with POSIX Real-time signals? Ummm RT signals are a different thing from thread signals. the two questions are different.. (And I might add, not orthogonal.. RT signals make thread signals more difficult). (last time I looked).