dougm       01/11/27 16:36:53

  Modified:    include  apr_mmap.h
  Log:
  add APR_MMAP_CANDIDATE macro to test if filelength is an mmap candidate
  (greater than or equal to APR_MMAP_THRESHOLD and less than APR_MMAP_LIMIT)
  
  Revision  Changes    Path
  1.29      +3 -0      apr/include/apr_mmap.h
  
  Index: apr_mmap.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_mmap.h,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- apr_mmap.h        2001/11/28 00:30:04     1.28
  +++ apr_mmap.h        2001/11/28 00:36:53     1.29
  @@ -137,6 +137,9 @@
   #  define APR_MMAP_LIMIT                  (4*1024*1024)
   #endif /* MMAP_LIMIT */
   
  +#define APR_MMAP_CANDIDATE(filelength) \
  +    ((filelength >= APR_MMAP_THRESHOLD) && (filelength < APR_MMAP_LIMIT))
  +
   /*   Function definitions */
   
   /** 
  
  
  

Reply via email to