Tuesday, September 20, 2011

[android-developers] init.rc --- synchronization

Hello,

I would like to invoke synchronously a command from init.rc, i.e. wait
for its termination before starting another service
(let's say the zygote).
I see that the documented "exec" does not do anything.

(I also see features not documented, loglevel for example.
So that documentation seems very unreliable. Documented properties
init.action, init.command not implemented?)

Another way to act on the "service"-exit seems --in the
documentation-- the service-exited-<name> trigger. But it doesn't
seem implemented.

Then the readme.txt mentions init.svc.<name> system property, but
then there is no notification on a change.
So, it seems I have to implement the synchronization myself. Maybe all
those tools mentioned would not even fit my requirement,
since zygote is explicitely (re)started on exit of other services.


Is there any such tool implemented?

Thanks

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate