On 07/13/10 16:41, ольга крыжановская wrote:
posix_spawn() is a Swiss army knife which can replace al most all
system calls needed to execute an external utility.
The bla() refers to signal, I/O, process group, terminal ownership and
all other tasks a shell has to do to start an external utility. These
are 20+ system calls.
Olga
So?
You still have to do all the same work in terms of setting all those
behaviors - one size doesn't fit all. As a result, the real
savings here is the elimination of 20 system call traps - not
exactly a lot of time compared to the cost of spawning a process.
- Bart
--
Bart Smaalders Solaris Kernel Performance
bart.smaald...@oracle.com http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org