Andrew Stitcher wrote:
On Wed, 2008-02-20 at 13:07 -0500, Josh wrote:
Howdy Everyone,
I note that for some routines (eg sockets) there are two supported
platforms, APR and Posix. I futher note that by default the Makefile.am
file sets the platform_src to be the posix sources and not apr; likewise
with the platform_hdr.
Under what conditions are the APR libraries used in place of the Posix
libraries?
The intention is to remove the APR code. It is left in the source tree
because currently the "Posix" implementation is actually only a Linux
implementation. It's there so that somebody could use it as the basis
for a more portable implementation, however it doesn't currently work
AFAIK.
When we have a real Posix implementation (based on poll() not epoll_*())
then I'd say we could remove it finally.
Andrew
Agreed. I suspect the final set of implementations we might end up with will be
- linux (epoll)
- posix (poll)
- windows (whatever)
We should rename posix to linux to remove confusion. Andrew, I think you're the
only one working under the posix dir, can you do the rename whenever it suits you?
Cheers,
Alan.