an hour when it skips back. However, you usually do want your
absolute-timed jobs to run when the wall clock says they should be.
Something to keep in mind.
-- Rocco Caputo - http://poe.perl.org/
en purely in
> parrot assembly.
1. B::Parrot
2. Parrot.xs
3. Providing opcodes for libperl functions and linking it in.
I haven't suggested asm(), so technically I'm safe. Right? :)
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
ice a potentially larger pool of parrot interpreters.
Essentially, physical threads become execution pipelines for the
virtual machine. The limit on system threads can be tuned to
optimally spread execution across available CPUs. It could be as
small as 1 on single-processor systems that don't switch thread
contexts well.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
set I1, main_timer_done
set I2, 1
jsr set_timer
return
main_timer_done:
jsr threads_active
ne I1, 0, main_timer_loop
end
__END__
-- Rocco Caputo / [EMAIL PROTECTED] / poe.eekeek.org / poe.sourceforge.net
fricangrey.jpg
I can't seem to find a picture of a Norwegian Blue anywhere.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
Attached is a patch to assemble.pl that adds very simple macros. I
fear it's a bit of a hack, but I'm fighting my usual impulse to
rewrite stuff.
Attached is also macros.pasm, a simple usage case. It goes in t/ for
want of a better place, but it's not a true test yet.
-- Rocco
e test.pbc".
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
--- assemble.pl-origFri Sep 14 11:20:05 2001
+++ assemble.pl Fri Sep 14 12:26:38 2001
@@ -59,7 +59,9 @@
# get opcodes from guts.
-open GUTS, "interp_guts.h";
+open(GUTS, &
e current assembler,
> which seems reasonable)
>
> There probably isn't a huge amount to do with the thing--maintain macro
> substitutions, handle local labels, manage sub definitions, and suchlike
> things.
>
> Anyone?
j0. I'll do it.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
ago I wrote a prototype of it
in C for perl6-internals to tinker with. It's called "phat", there is
some discussion about it in the list archive, and the working
prototype (for prototypical values of "working") is still at
<http://poe.perl.org/phat/phat.c>.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
that these tend to be "survivable"
signals; only the interested threads will ever notice them even when
they're broadcast everywhere.
Apropos of Perl 5: I've experimented long and hard on the language
level in perl 5, and I have a test case for detect them without using
handle
On Mon, 8 Jan 2001 23:12:15 -0200, Filipe Brandenburger wrote:
>Rocco Caputo wrote:
>
>> ...
>> [ *** code *** ]
>>
>>This could very well be an event driven program, with all the tedious
>>mucking about with callbacks done under the hood. Regardless, it co
a DBI module running
in another. The client threads would be permitted to continue on,
eventually receiving DBI responses as asynchronous callbacks.
I think that's it. Thank you for reading.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
ototype is at <http://poe.perl.org/poe2/>.
current-snapshot.tar.gz in that directory is a tarball of the whole
tree. Design notes are in Readme, the notes directory, and source
comments.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
On Fri, 5 Jan 2001 23:46:33 -0500, Uri Guttman wrote:
>>>>>> "RC" == Rocco Caputo <[EMAIL PROTECTED]> writes:
>
> RC> With a tightly integrated event loop, blocking perl level I/O can be
> RC> implemented in terms of internal asynchronous I/O.
e
print $client $_; # async I/O inside
}
}
This could very well be an event driven program, with all the tedious
mucking about with callbacks done under the hood. Regardless, it could
run the same as long as either threads OR async I/O are available.
-- Rocco Caputo / [EMAIL PROTECTED] / poe.perl.org / poe.sourceforge.net
15 matches
Mail list logo