apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@xbc.nu>
Subject Re: cvs commit: apr/memory/unix apr_pools.c
Date Mon, 29 Sep 2003 00:55:34 GMT
striker@apache.org wrote:

>striker     2003/09/27 16:51:46
>
>  Modified:    misc/unix start.c
>               memory/unix apr_pools.c
>  Log:
>  * misc/unix/start.c
>  
>    (apr_initialize): Remove atomics initialization from this function.  Due
>      to circular dependency, doing it here is too late.
>  
>  * memory/unix/apr_pools.c
>  
>    (apr_pool_initialize): Add atomics initialization to the release and debug
>      versions.  This has to happen here, since pools rely on mutexes, which
>      can be backed by atomics.  Atomics initialization requires a pool.
>  
>
[snip]

I can't believe we don't have a Win32 implementation of the atomics. So
right now, HEAD doesn't compile on Windows. :-(

Is the implementation in unix/ generic enough to work anywhere? If it
is, I'll temporarily add it to apr.dsp.


-- 
Brane ─îibej   <brane@xbc.nu>   http://www.xbc.nu/brane/


Mime
View raw message