[kepler-dev] PN director and prefire/fire methods

Piotr Domagalski piotr.domagalski at fedstage.com
Wed Mar 18 01:06:39 PDT 2009


On Wed, Mar 18, 2009 at 1:39 AM, Edward A. Lee <eal at eecs.berkeley.edu> wrote
> In PN, hasToken() always returns true.
> This is because PN implements Kahn-MacQueen blocking reads,
> which ensures determinism.
>
> I suspect you really want to be using one of the dataflow
> directors (SDF or DDF).

The thing is that I need parallel execution of actors, so I think I
need to stick with PN director. How do I then implement what I called
"input triggered actor" which fires only when data is available on all
of its connected input ports?

-- 
Piotr Domagalski


More information about the Kepler-dev mailing list