Re: Danga and aio

2007-01-10 Thread john1
On 9 Jan 2007 at 15:56, Also Sprach Matt Sergeant: On 9-Jan-07, at 10:18 AM, [EMAIL PROTECTED] wrote: Is there a quick and easy way to find out if the kernel supports aio? I'm not sure. Probably best to just check kernel versions. 2.4 generally doesn't. 2.6 does. I assume you're

Re: Danga and aio

2007-01-10 Thread john1
On 10 Jan 2007 at 9:30, Also Sprach Matt Sergeant: I've used this in the past to check if I'm using epoll (though that's not the same as whether aio is supported): my $POLL = with . ($Danga::Socket::HaveEpoll ? epoll() : $Danga::Socket::HaveKQueue ? kqueue() : poll

Re: Danga and aio

2007-01-10 Thread Matt Sergeant
On 10-Jan-07, at 12:07 PM, [EMAIL PROTECTED] wrote: On 10 Jan 2007 at 9:30, Also Sprach Matt Sergeant: I've used this in the past to check if I'm using epoll (though that's not the same as whether aio is supported): my $POLL = with . ($Danga::Socket::HaveEpoll ? epoll() :