You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Brian Havard <br...@kheldar.apana.org.au> on 2002/07/11 13:42:16 UTC
Re: cvs commit: apr/poll/os2 Makefile.in poll.c
On 11 Jul 2002 05:40:23 -0000, rbb@apache.org wrote:
>rbb 2002/07/10 22:40:23
>
> Modified: network_io/os2 Makefile.in
> Added: poll/os2 Makefile.in poll.c
> Removed: network_io/os2 poll.c
> Log:
> An attempt at the OS/2 implementation. I have no OS/2 box, so this
> probably won't work,
Yup, not even close :)
>but at least it is a start.
Sure, gets the required file structure in place.
>My only question is can
> you select on a file descriptor on OS/2? If not, then we will just have
> to return an error on OS/2 if somebody tries to.
No, OS/2 select only does sockets.
I've just written something that appears to work. I only had to rewrite
apr_poll() itself, the rest of the functions are the same as for unix.
Would it be possible to split unix/poll.c into .c files (apr_poll() in one,
helpers in another) so I can share the helper functions?
--
______________________________________________________________________________
| Brian Havard | "He is not the messiah! |
| brianh@kheldar.apana.org.au | He's a very naughty boy!" - Life of Brian |
------------------------------------------------------------------------------
RE: cvs commit: apr/poll/os2 Makefile.in poll.c
Posted by Ryan Bloom <rb...@covalent.net>.
> From: Brian Havard [mailto:brianh@kheldar.apana.org.au]
>
> On 11 Jul 2002 05:40:23 -0000, rbb@apache.org wrote:
>
> >rbb 2002/07/10 22:40:23
> >
> > Modified: network_io/os2 Makefile.in
> > Added: poll/os2 Makefile.in poll.c
> > Removed: network_io/os2 poll.c
> > Log:
> > An attempt at the OS/2 implementation. I have no OS/2 box, so this
> > probably won't work,
>
> Yup, not even close :)
Sorry, but at least I tried.
> >My only question is can
> > you select on a file descriptor on OS/2? If not, then we will just
> have
> > to return an error on OS/2 if somebody tries to.
>
> No, OS/2 select only does sockets.
>
> I've just written something that appears to work. I only had to
rewrite
> apr_poll() itself, the rest of the functions are the same as for unix.
> Would it be possible to split unix/poll.c into .c files (apr_poll() in
> one,
> helpers in another) so I can share the helper functions?
Of course we can split them out. I had a feeling we would have to.
I'll do the work later today.
Ryan