Thread: [complement-svn] SF.net SVN: complement: [1725] trunk/complement/explore/include/config
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2007-09-07 10:54:56
|
Revision: 1725 http://complement.svn.sourceforge.net/complement/?rev=1725&view=rev Author: complement Date: 2007-09-07 03:54:55 -0700 (Fri, 07 Sep 2007) Log Message: ----------- prepare for EPOLL and NONBLOCK Modified Paths: -------------- trunk/complement/explore/include/config/_linux.h trunk/complement/explore/include/config/feature.h Modified: trunk/complement/explore/include/config/_linux.h =================================================================== --- trunk/complement/explore/include/config/_linux.h 2007-09-07 10:53:27 UTC (rev 1724) +++ trunk/complement/explore/include/config/_linux.h 2007-09-07 10:54:55 UTC (rev 1725) @@ -68,4 +68,20 @@ #define __FIT_NO_SELECT +/* + * use algorithms that based on non-block sockets technique + */ + +/* +#define __FIT_NONBLOCK_SOCKETS +*/ + +/* + * use epoll syscall instead of poll + */ + +/* +#define __FIT_EPOLL +*/ + #endif /* __config__linux_h */ Modified: trunk/complement/explore/include/config/feature.h =================================================================== --- trunk/complement/explore/include/config/feature.h 2007-09-07 10:53:27 UTC (rev 1724) +++ trunk/complement/explore/include/config/feature.h 2007-09-07 10:54:55 UTC (rev 1725) @@ -82,7 +82,7 @@ * has poll (HP-UX 10.xx, old Linuxes may not). * We can use either poll or select. */ -#ifndef __FIT_NO_POLL +#if !defined(__FIT_NO_POLL) /* && !defined(__FIT_EPOLL) */ # define __FIT_POLL /* use poll system call */ #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <com...@us...> - 2008-02-20 09:47:43
|
Revision: 1814 http://complement.svn.sourceforge.net/complement/?rev=1814&view=rev Author: complement Date: 2008-02-20 01:47:34 -0800 (Wed, 20 Feb 2008) Log Message: ----------- turn __FIT_PTHREADS, if _PTHREADS found Modified Paths: -------------- trunk/complement/explore/include/config/_freebsd.h trunk/complement/explore/include/config/_linux.h trunk/complement/explore/include/config/_openbsd.h trunk/complement/explore/include/config/_windows.h Modified: trunk/complement/explore/include/config/_freebsd.h =================================================================== --- trunk/complement/explore/include/config/_freebsd.h 2008-02-11 17:39:41 UTC (rev 1813) +++ trunk/complement/explore/include/config/_freebsd.h 2008-02-20 09:47:34 UTC (rev 1814) @@ -1,21 +1,12 @@ -/* Time-stamp: <05/12/12 10:46:44 ptr> */ +/* Time-stamp: <08/02/20 09:58:33 ptr> */ /* * - * Copyright (c) 2003, 2005 + * Copyright (c) 2003-2008 * Petr Ovtchenkov * - * Licensed under the Academic Free License Version 2.1 + * Licensed under the Academic Free License version 3.0 * - * This material is provided "as is", with absolutely no warranty expressed - * or implied. Any use is at your own risk. - * - * Permission to use, copy, modify, distribute and sell this software - * and its documentation for any purpose is hereby granted without fee, - * provided that the above copyright notice appear in all copies and - * that both that copyright notice and this permission notice appear - * in supporting documentation. - * */ #ifndef __config__freebsd_h @@ -32,6 +23,7 @@ #endif #if defined(_PTHREADS) +# define __FIT_PTHREADS # ifndef __USE_UNIX98 # define __USE_UNIX98 # endif Modified: trunk/complement/explore/include/config/_linux.h =================================================================== --- trunk/complement/explore/include/config/_linux.h 2008-02-11 17:39:41 UTC (rev 1813) +++ trunk/complement/explore/include/config/_linux.h 2008-02-20 09:47:34 UTC (rev 1814) @@ -1,8 +1,8 @@ -/* Time-stamp: <07/01/31 23:51:12 ptr> */ +/* Time-stamp: <08/02/20 09:57:38 ptr> */ /* * - * Copyright (c) 2003-2007 + * Copyright (c) 2003-2008 * Petr Ovtchenkov * * Licensed under the Academic Free License version 3.0 @@ -35,6 +35,7 @@ # define __USE_UNIX98 # endif */ +# define __FIT_PTHREADS /* This feature exist at least since glibc 2.2.4 */ # define __FIT_XSI_THR /* Unix 98 or X/Open System Interfaces Extention */ # ifdef __USE_XOPEN2K Modified: trunk/complement/explore/include/config/_openbsd.h =================================================================== --- trunk/complement/explore/include/config/_openbsd.h 2008-02-11 17:39:41 UTC (rev 1813) +++ trunk/complement/explore/include/config/_openbsd.h 2008-02-20 09:47:34 UTC (rev 1814) @@ -1,28 +1,17 @@ -// -*- C++ -*- Time-stamp: <05/09/02 00:46:15 ptr> +// -*- C++ -*- Time-stamp: <08/02/20 10:01:25 ptr> /* * - * Copyright (c) 2003 + * Copyright (c) 2003-2008 * Petr Ovtchenkov * - * Licensed under the Academic Free License Version 2.1 + * Licensed under the Academic Free License version 3.0 * - * This material is provided "as is", with absolutely no warranty expressed - * or implied. Any use is at your own risk. - * - * Permission to use, copy, modify, distribute and sell this software - * and its documentation for any purpose is hereby granted without fee, - * provided that the above copyright notice appear in all copies and - * that both that copyright notice and this permission notice appear - * in supporting documentation. - * */ #ifndef __config__openbsd_h #define __config__openbsd_h -#ident "@(#)$Id$" - #define __FIT__P_PROBLEM // Hide __P from sys/cdefs.h. Workaround for glibc. #ifndef __unix @@ -34,6 +23,7 @@ #endif #if defined(_PTHREADS) +# define __FIT_PTHREADS # ifndef __USE_UNIX98 # define __USE_UNIX98 # endif Modified: trunk/complement/explore/include/config/_windows.h =================================================================== --- trunk/complement/explore/include/config/_windows.h 2008-02-11 17:39:41 UTC (rev 1813) +++ trunk/complement/explore/include/config/_windows.h 2008-02-20 09:47:34 UTC (rev 1814) @@ -1,21 +1,12 @@ -/* Time-stamp: <03/06/29 19:53:27 ptr> */ +/* Time-stamp: <08/02/20 10:02:49 ptr> */ /* * - * Copyright (c) 2003 + * Copyright (c) 2003-2008 * Petr Ovtchenkov * - * Licensed under the Academic Free License Version 2.1 + * Licensed under the Academic Free License version 3.0 * - * This material is provided "as is", with absolutely no warranty expressed - * or implied. Any use is at your own risk. - * - * Permission to use, copy, modify, distribute and sell this software - * and its documentation for any purpose is hereby granted without fee, - * provided that the above copyright notice appear in all copies and - * that both that copyright notice and this permission notice appear - * in supporting documentation. - * */ #ifndef __config__windows_h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |