dgaudet 97/08/07 02:39:51
Modified: src conf.h Log: Experimental timings on Linux 2.0.30 suggest that flock() is faster than fcntl(). This can be reversed if the beta shows problems with it. Revision Changes Path 1.122 +4 -1 apache/src/conf.h Index: conf.h =================================================================== RCS file: /export/home/cvs/apache/src/conf.h,v retrieving revision 1.121 retrieving revision 1.122 diff -u -r1.121 -r1.122 --- conf.h 1997/07/27 20:07:16 1.121 +++ conf.h 1997/08/07 09:39:48 1.122 @@ -269,8 +269,11 @@ #define HAVE_SHMGET #define HAVE_SYS_RESOURCE_H typedef int rlim_t; -#endif +/* flock is faster ... but hasn't been tested on 1.x systems */ +#define USE_FLOCK_SERIALIZED_ACCEPT +#else #define USE_FCNTL_SERIALIZED_ACCEPT +#endif #undef HAVE_GMTOFF #undef NO_KILLPG #undef NO_SETSID