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
> "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
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'
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
> "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
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 ;)").
--
-==-
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
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
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
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
10 matches
Mail list logo