LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: kevin02

linux 中多线程的问题???????

[复制链接]
发表于 2005-11-10 12:08:34 | 显示全部楼层
Post by haohao_h
The system() function causes string to be given to the shell
     as input, as if string had been typed as a command at a ter-
     minal. The invoker waits until the shell has completed, then
     returns the exit status of the shell in the format specified
     by waitpid(2).



按道理说,它只应该阻塞所在线程,而不会让正在运行 的主进程阻塞!!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表