apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <jwool...@virginia.edu>
Subject Re: How to get the PID?
Date Tue, 18 Feb 2003 22:27:02 GMT
On Tue, 18 Feb 2003, [UTF-8] Branko ─îibej wrote:

> It's fairly portable on most every Unix variant. It just so happens that
> APR isn't about portability across Unixes, so we really should have
> wrappers. We have apr_os_thread_current, so we should also have an
> apr_os_proc_current.

Of course we all realize that not all operating systems *have* processes
(cough Netware cough :).  Not that that has to be a problem...
apr_os_proc_current() could just return a constant in that case.  Just
bringing it up.  +1 on concept.

--Cliff


Mime
View raw message