[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. |