apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: cvs commit: apr/memory/unix apr_pools.c
Date Fri, 14 Dec 2001 20:35:58 GMT
On Fri, Dec 14, 2001 at 08:14:10PM -0000, trawick@apache.org wrote:
>   @@ -124,7 +124,11 @@
>    
>    struct allocator_t {
>        apr_uint32_t        max_index;
>   +#if APR_HAS_THREADS
>        apr_thread_mutex_t *mutex;
>   +#else
>   +    void               *mutex;
>   +#endif
>        apr_pool_t         *owner;
>        node_t             *free[MAX_INDEX];
>    };

Do we even need to define mutex when threads aren't present?  -- justin


Mime
View raw message