Re: kqueue

2000-08-23 Thread Joshua N Pritikin
On Wed, Aug 23, 2000 at 02:50:51PM -0400, [EMAIL PROTECTED] wrote: > ... i am proposing to perl6 that async file > i/o be supported in a more integrated way. Sounds good to me. No objections here. :-) -- May the best description of competition prevail. (via, but not speaking for Deutsch

Re: kqueue

2000-08-23 Thread Uri Guttman
> "JNP" == Joshua N Pritikin <[EMAIL PROTECTED]> writes: JNP> Agreed. SIGIO != asynchronous I/O; SIGIO is a hack. solaris has true aynch file i/o. but it uses sigio to tell you when it something happens. then you have to scan you pending operations to see which one it was. the idjits shou

Re: Event->io does not accept GLOB refs

2000-08-23 Thread Mike Guy
Marc Lehmann <[EMAIL PROTECTED]> wrote > As I read the documentation, Event->io should accept a GLOB > reference as argument, but I cannot get this to work (it only works > with some glob references, e.g. ones created by IO::Handle): In your example, you have a glob, not a glob reference. They'

Re: kqueue

2000-08-23 Thread Joshua N Pritikin
On Wed, Aug 23, 2000 at 11:12:01AM -0400, [EMAIL PROTECTED] wrote: > > "ML" == Marc Lehmann <[EMAIL PROTECTED]> writes: > > ML> Well, most unices support asynchroneous I/O, which gives most of > ML> the same and scales very well. > > please show me where in linux is the support for async

Re: kqueue

2000-08-23 Thread Uri Guttman
> "ML" == Marc Lehmann <[EMAIL PROTECTED]> writes: ML> Well, most unices support asynchroneous I/O, which gives most of the same ML> and scales very well. please show me where in linux is the support for asynch file I/O. i have not found it. uri -- Uri Guttman - [EMAIL PROTE

Re: Event->io does not accept GLOB refs

2000-08-23 Thread Marc Lehmann
On Wed, Aug 23, 2000 at 12:56:41PM +0200, Jochen Stenzel <[EMAIL PROTECTED]> wrote: > this works: Thanks a lot, that's a nice workaround 'til Event is fixed (didnt' occur to me, as in "if it doesn't accept globs it surely never accepts refs to them ;)"). -- -==-

Re: Event->io does not accept GLOB refs

2000-08-23 Thread Jochen Stenzel
Hello, Marc, this works: - snip -- use Event; die "Usage: $0 \n" unless @ARGV and -e $ARGV[0]; my $fh = do { local *GLOB }; open $fh, "<", $ARGV[0] or die $!; print "fileno: ", fileno $fh, "\n"; print "asstring: $fh\n"; # here is the difference Event->io(fd=>\$fh, cb=>\&callback); Event::l

Re: event.pm stability

2000-08-23 Thread Marc Lehmann
On Fri, Aug 18, 2000 at 05:21:52PM -0400, Uri Guttman <[EMAIL PROTECTED]> wrote: > is based upon event.pm for a 24/7 data collection project. i would like I am using Event for a variety of systems running 24/7, last not least my answering machine (which also does a lot of other, unrelated things

Re: kqueue

2000-08-23 Thread Marc Lehmann
Sorry for the late reply, just read through the archives ;) On Thu, Jul 27, 2000 at 04:45:17PM -0400, Uri Guttman <[EMAIL PROTECTED]> wrote: > JNP> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/4.1-RELEASE/RELNOTES.TXT > > and whether this propogates to other unixes is a big issue. i don't

Event->io does not accept GLOB refs

2000-08-23 Thread Marc Lehmann
As I read the documentation, Event->io should accept a GLOB reference as argument, but I cannot get this to work (it only works with some glob references, e.g. ones created by IO::Handle): use Event; my $fh = do { local *GLOB }; open $fh, "<", "/dev/null" or die; print "fileno: ", f