Hi Ivan, I have intentionally not put the string of "suspend" key in the example because the workgen script will do the check and others (like unique key id) before calling rt-app. Adding a detailed documentation of how to use rt-app and workgen is my top priority action of my todo list
Regards, Vincent On 24 October 2014 16:45, Ivan T. Ivanov <iiva...@mm-sol.com> wrote: > --- > doc/examples/browser.json | 8 ++++---- > doc/examples/example4.json | 4 ++-- > doc/examples/mp3.json | 8 ++++---- > doc/examples/test.json | 4 ++-- > 4 files changed, 12 insertions(+), 12 deletions(-) > > diff --git a/doc/examples/browser.json b/doc/examples/browser.json > index a5b4dee..533c738 100644 > --- a/doc/examples/browser.json > +++ b/doc/examples/browser.json > @@ -90,7 +90,7 @@ > "Binder-display" : { > "priority" : -6, > "loop" : -1, > - "suspend", > + "suspend" : "Binder-display", > "run" : 300, > "resume" : "Event-Browser", > "resume" : "Event-Display", > @@ -98,7 +98,7 @@ > "Event-Browser" : { > "priority" : -9, > "loop" : -1, > - "suspend", > + "suspend" : "Event-Browser", > "run" : 50, > "sleep" : 16000, > "run" : 50, > @@ -107,7 +107,7 @@ > "Event-Display" : { > "priority" : -9, > "loop" : -1, > - "suspend", > + "suspend" : "Event-Display", > "run" : 50, > "sleep" : 16000, > "run" : 50, > @@ -116,7 +116,7 @@ > "Display" : { > "priority" : -8, > "loop" : -1, > - "suspend", > + "suspend" : "Display", > "run" : 16000, > }, > }, > diff --git a/doc/examples/example4.json b/doc/examples/example4.json > index 2865075..28d7c3d 100644 > --- a/doc/examples/example4.json > +++ b/doc/examples/example4.json > @@ -8,13 +8,13 @@ > "loop" : -1, > "run" : 10000, > "resume" : "thread1", > - "suspend", > + "suspend" : "thread0", > }, > "thread1" : { > "loop" : -1, > "run" : 10000, > "resume" : "thread0", > - "suspend", > + "suspend" : "thread1", > }, > }, > } > diff --git a/doc/examples/mp3.json b/doc/examples/mp3.json > index c1b40f0..0cf0513 100644 > --- a/doc/examples/mp3.json > +++ b/doc/examples/mp3.json > @@ -1,6 +1,6 @@ > { > "tasks" : { > - "AudioTick" : { > + "AudioTick" : { > "priority" : -19, > "loop" : -1, > "phases" : { > @@ -21,19 +21,19 @@ > "run" : 275, > "resume" : "AudioTrack", > "run" : 4725, > - "suspend", > + "suspend" : "AudioOut", > }, > "AudioTrack" : { > "priority" : -16, > "loop" : -1, > - "suspend", > + "suspend" : "AudioTrack", > "run" : 300, > "resume" : "mp3.decoder", > }, > "mp3.decoder" : { > "priority" : -2, > "loop" : -1, > - "suspend", > + "suspend" : "mp3.decoder", > "run" : 1000, > "lock" : "mutex", > "signal" : "queue", > diff --git a/doc/examples/test.json b/doc/examples/test.json > index 11adcb0..169cfff 100644 > --- a/doc/examples/test.json > +++ b/doc/examples/test.json > @@ -30,9 +30,9 @@ > "wait": { "ref": "queue", "mutex": "mutex" }, > "unlock": "mutex", > "run": 10000, > - "suspend", > + "suspend" : "thread1", > "run": 10000, > - "suspend", > + "suspend" : "thread1", > "run": 10000, > }, > }, > -- > 1.9.1 > > > _______________________________________________ > linaro-dev mailing list > linaro-dev@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/linaro-dev _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev