Le Wed, 25 Jul 2007 09:46:21 +0200 "Roberto A. Foglietta" <[EMAIL PROTECTED]> a écrit:
> Hi to all folks, Hello, > sorry for the OT but I am wondering if it would be better have three > indipendent script which runs concurrently or it is better having only > a script like this: Theorically 3 scripts = 3 shells = 3 system calls. So, IMHO the most efficient must be to launch one script. After, it depends on the code you execute : if there are many system calls and few needs in memory, you probably won't see the difference. > while true; do > [ ... code 1 ... ] > done & > > while true; do > [ ... code 2 ... ] > done & > > while true; do > [ ... code 3 ... ] > done Maybe it would be good to end it with a 'wait' in order to be sure you don't let an infinite loop in background. ++ Seb. _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
