Date: Tue, 15 Jul 2003 19:16:00 -0400 From: Craig Rodrigues <rodrigc@crodrigues.org> To: freebsd-threads@freebsd.org Subject: Re: ACE Proactor and libkse Message-ID: <20030715231600.GA676@crodrigues.org> In-Reply-To: <Pine.GSO.4.10.10307151416550.26993-100000@pcnet5.pcnet.com> References: <20030715175141.GA99650@crodrigues.org> <Pine.GSO.4.10.10307151416550.26993-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <crodrigu@bbn.com> * 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? Thanks. -- Craig Rodrigues http://crodrigues.org rodrigc@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030715231600.GA676>