V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  Nitroethane  ›  全部回复第 20 页 / 共 53 页
回复总数  1059
1 ... 16  17  18  19  20  21  22  23  24  25 ... 53  
当一个进程得子进程退出时,其父进程会收到 SIGCHLD 信号。调用 signal(SIGCHLD, SIG_IGN) 的目的是避免在父进程提前退出的情况下,子进程退出时不会变成 zombie 。
至于你说的那篇文章中调用 signal 函数,应该跟创建 daemon 进程没多大关系
2020-08-12 14:24:51 +08:00
回复了 morizawatt 创建的主题 北京 好奇有帝都的 v 友今天被通知在家办公吗..
外企,今天在家办公
2020-08-12 09:03:32 +08:00
回复了 jhwangpin 创建的主题 Linux 各位大神! CENTOS 的 hosts 文件能不能引用附加其他文本?
你这需求还不如直接搭个 DNS 服务器更方便
2020-08-05 20:26:51 +08:00
回复了 ffLoveJava 创建的主题 Apple mac 的切屏逻辑真烦
@ljpCN 正确的使用方法应该是将暂时不用的那个窗口最小化,最小化的窗口通过 Command + Tab 是切不出来的。如果需要找最小化的窗口,默认手势四指下滑,或者快捷键 control + ⬇️。这才是 macOS 下最小化的正确用法
2020-08-02 23:06:40 +08:00
回复了 Solace202 创建的主题 音乐 昨晚看乐夏 2,野孩子的《黄河瑶》听哭了
@AA0 #3 更惋惜的是小索 04 年就因癌症去世了……

@Solace202 #4 希望自己能追到兰州的大学同学,每年一起回家,一起听黄河谣,兰州兰州。那熟悉的兰州东站
2020-08-02 20:08:07 +08:00
回复了 Mashirobest 创建的主题 问与答 经常检测到 MEM:trojan.win32.SEPEH.gen
刚 Google 了一下这个 Trojan 的名字,发现好多文章较怎么手动删除这个 Trojan 的。不过最稳妥的方法还是楼上说的,重装系统
2020-08-02 10:17:40 +08:00
回复了 Solace202 创建的主题 音乐 昨晚看乐夏 2,野孩子的《黄河瑶》听哭了
黄河谣是我大学时候睡前必听歌曲,作为甘肃人更有共鸣
2020-08-02 10:16:10 +08:00
回复了 jzq526 创建的主题 Linux 在 manjaro(KDE)中,使用 sudo 时不能补全参数
假定你用的 zsh,看这篇贴子里用到了 zstyle,https://forums.gentoo.org/viewtopic-t-1053122-start-0.html
好像有遇到这个问题,当时也没在意,你这么一说我倒想起来了
2020-08-01 07:14:29 +08:00
回复了 tomtom9 创建的主题 Apple 你们知不知道 cmd+`可以切换同应用的两个窗口...
@Nitroethane 打错了,是避免使用 cmd+反引号( iOS 上找了半天没找到这个符号……)
2020-08-01 07:12:47 +08:00
回复了 tomtom9 创建的主题 Apple 你们知不知道 cmd+`可以切换同应用的两个窗口...
合理是用最小化窗口功能,避免使用 cmd+tab,因为最小化的窗口用 cmd+tab 是切不出来的
2020-07-30 08:08:32 +08:00
回复了 ufo22940268 创建的主题 Swift Swift 里面的"_"是什么作用
In Objective-C when you declare a property @synthesize would create the getter and setters for you automatically since clang 3.2. So, the default @synthesize for a property "foo" would look like this:

@synthesize foo = _foo

because of that _foo would then be the iVar. In other words you could have done the @synthesize yourself and called the iVar whatever you liked:

@synthesize foo = myiVarFoo

so in this case there is no "_"

So now in Swift from the documentation:

Swift unifies these concepts into a single property declaration. A Swift property does not have a corresponding instance variable, and the backing store for a property is not accessed directly.
So from the documentation it's clear that swift does not have a corresponding instance variable thus no need to have the "_" around anymore.


https://stackoverflow.com/a/24215607
2020-07-29 17:28:17 +08:00
回复了 PDX 创建的主题 计算机 说说你所知道的计算机领域的历史包袱?
cpu 实模式和保护模式
2020-07-26 16:54:28 +08:00
回复了 mikurasa 创建的主题 Apple 如何看待苹果 行货售后需要发票
反正我去年十一月份去北京王府井天才吧换 top case 的时候没要发票,天才只问了问 mbp 哪买的
1 ... 16  17  18  19  20  21  22  23  24  25 ... 53  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   960 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 43ms · UTC 20:24 · PVG 04:24 · LAX 13:24 · JFK 16:24
Developed with CodeLauncher
♥ Do have faith in what you're doing.