Skip to main content

Does runMidlet creates multiple processes on linux ?

1 reply [Last post]
tusharj9
Offline
Joined: 2005-09-22

Hi,
When I start runMidlet binary on linux i386 with DirectFB , and run pstree command , typically I get following output.

gnome-terminal-+-bash---scratchbox---bash---runMidlet---runMidlet---3*[runMidlet]

Does phoneME internally create multiple processes ? If so what is the purpose behind.
As per my understanding fork/exec is the typical mechanism used on linux . But I couldn't find use of fork in phoneME source (except for Bluetooth & Qt support)

regards,
Tushar

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alexey_z
Offline
Joined: 2006-10-18

Hi Tushar,

No, runMidlet doesn't create multiple processes (however, it is allowed to start several runMidlets on the same machine simultaneously).
"pstree -a" on my machine (x86, Debian, KDE, linux_fb mvm debug build, no optional JSRs) gives:

| | |-bash
| | | `-runMidlet_g internal com.sun.midp.appmanager.MVMManager
| | | `-{runMidlet_g}

Regards,
Alexey