Re: Functions for embedders to override
[email protected] (Uri Guttman) Tue, 10 Aug 2004 18:14:09 -0400
| Newsgroups | perl.perl6.internals,perl.ponie.dev |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "DS" == Dan Sugalski <[email protected]> writes: DS> At 6:32 PM +0100 8/10/04, Arthur Bergman wrote: >> 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) DS> Gah. I want one semi-generic way. And a lollypop, too, so at least I'm DS> pretty sure to get one of two. DS> Overriding poll/select is more because I'm assuming that any system DS> which overrides the file functions may well override the monitoring DS> functions for filehandles. take a look at libevent which wraps most/all of the select flavors and provides a single api. it's a c lib with some flavor of open source license. i would love to see it wrapped in perl5 xs/swig/inline and put on cpan (hint! :) . supporting all those event loop flavors directly in parrot seems like too much work. uri -- Uri Guttman ------ [email protected] -------- http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org