1 Star 0 Fork 7

lavandejoey/autoconf213

forked from src-openEuler/autoconf213 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
autoconf-2.13-wait3test.patch 508 Bytes
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 18:52 +08:00 . Package init
--- autoconf-2.13/acspecific.m4.sopwith Mon Feb 25 18:05:39 2002
+++ autoconf-2.13/acspecific.m4 Mon Feb 25 18:18:35 2002
@@ -1419,6 +1419,8 @@
r.ru_majflt = r.ru_minflt = 0;
switch (fork()) {
case 0: /* Child. */
+ /* Unless we actually _do_ something, the kernel sometimes doesn't chalk up any system time to this process. */
+ if(fork()) { i = 123; wait(NULL); } else { i = 234; exit(0); }
sleep(1); /* Give up the CPU. */
_exit(0);
case -1: _exit(0); /* What can we do? */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lavandejoey/autoconf213.git
git@gitee.com:lavandejoey/autoconf213.git
lavandejoey
autoconf213
autoconf213
master

搜索帮助