apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@covalent.net>
Subject Re: [PATCH] performance fix for time offset computation
Date Tue, 28 Aug 2001 17:46:21 GMT
On Tuesday 28 August 2001 10:28, Brian Pane wrote:
> >>Would anybody besides me feel better if we had apr_initialize() call
> >>apr_unix_setup_time() to do this?
> >
> >Apparently :)  +1
>
> What's the right way to introduce a declaration for apr_unix_setup_time
> (or should it be apr_setup time in case we later need a similar trick on
> other platforms?)...wrap it in an ifdef in apr/include/apr_time.h, or
> add a "time.h" (er, but probably not called "time.h") in the
> apr/include/arch/* directories?

Just do exactly what we did for apr_unix_setup_lock.  Namely, create an
apr/include/arch/unix/internal_time.h and declare it there.

Ryan



______________________________________________________________
Ryan Bloom				rbb@apache.org
Covalent Technologies			rbb@covalent.net
--------------------------------------------------------------

Mime
View raw message