Re: Functions for embedders to override

[email protected] (Dan Sugalski) Wed, 11 Aug 2004 01:42:34 -0400
Newsgroups perl.perl6.internals,perl.ponie.dev
Message-ID <a06110400bd3f61ebd779@[172.24.18.155]>
At 6:32 PM +0100 8/10/04, Arthur Bergman wrote:
>On 11 Aug 2004, at 06:10, Dan Sugalski wrote:
>
>>
>>>   * Networking: socket, accept, connect, listen, etc. (see "Files")
>>
>>Yeah, and this'll be ever so much fun too. We need to add in select 
>>and poll to that list.
>>
>
>Modern operating systems all have a way to get around the suckiness 
>of poll/select when you have large number of fds 
>(epoll/aio/kqueue/whatever), there should be away to override those 
>interfaces as well :-) (maniac laugh)

Gah. I want one semi-generic way. And a lollypop, too, so at least 
I'm pretty sure to get one of two.

Overriding poll/select is more because I'm assuming that any system 
which overrides the file functions may well override the monitoring 
functions for filehandles.

Part of me's tempted to just define our own set of functions, but the 
problem there is that we then put the onus on the embedding app to 
conform to us, which I'm not sure is the right way to go about things.
-- 
				Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[email protected]                         have teddy bears and even
                                       teddy bears get drunk