hi, At 2013-08-27 16:29:24,"Norman Feske" <norman.feske@...1...> wrote:
Hello,
From the run script, I can see that every application is started by the <strat> </start> can I decide which applicaton is started first, which is started seconde and which is no started?
all subsystems specified in the '<start>' nodes are started in parallel. The only point for which the order of the entries is important is the assignment of RAM quota. If the specified amount of RAM exceeds the RAM available of init, init will assign its remaining amount to the child. All subsequent '<start>' entries won't receive any RAM. If you specifly an overly large amount of RAM to last entry, the corresponding subsystem will get all remaining unused RAM resources.
For which reason do you need a specific start order?
Can i decide the order of applications started dynamically?
What i want to do is that I want to use an applicaton to start another application. For example, I have two application, named applicaton A and application B. I just want to use application A to start application B, what can i do?
From the source code of genode, I know the init('os/src/init/main.cc') start all the application in the config file. After starting all the applications, the init process waits for the sign of the config file changed. Can i change the config file dynamically to make one applicaton to start another applicaton? For example, First, I use a the config file with only application A. so that the init process can start the application A. After the init process starts all the applications in the config file, application A changes the config file to make the config file contains with the applicaton B, then the init process gets the signal of config file changed, and start application B?