apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: apr/misc/unix start.c
Date Fri, 05 Jul 2002 01:25:39 GMT
brianp      2002/07/04 18:25:38

  Modified:    misc/unix start.c
  Log:
  Call apr_atomic_init() during apr_initialize() in case we're
  on a platform where atomic ops are implemented using the
  fallback mutex implementation
  
  Revision  Changes    Path
  1.67      +4 -0      apr/misc/unix/start.c
  
  Index: start.c
  ===================================================================
  RCS file: /home/cvs/apr/misc/unix/start.c,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- start.c	12 Jun 2002 01:45:04 -0000	1.66
  +++ start.c	5 Jul 2002 01:25:38 -0000	1.67
  @@ -98,6 +98,10 @@
   
       apr_pool_tag(pool, "apr_initialize");
   
  +    if ((status = apr_atomic_init(pool)) != APR_SUCCESS) {
  +        return status;
  +    }
  +
       apr_signal_init(pool);
   
       return APR_SUCCESS;
  
  
  

Mime
View raw message