Bug 506182 - Launch is not multi-thread safe

Protect access to fTargets and fProcesses with read/write lock to avoid
possible ConcurrentModificationExceptions.

Change-Id: I1a42b263cd9b64c7ebb914b5fdea0d2d3e408b73
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
5 files changed