⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 alexander.viro

📁 sysvinit--linux系统下的init
💻 VIRO
字号:
I proposed moving some stuff to a seperate file, such as there-exec routines. Alexander wrote:According to Alexander Viro <viro@math.psu.edu>:> As for the code separation - I think it's nice. Actually, read_inittab()> with get_part() and newFamily are also pretty separatable. Another good> set is any(), spawn(), startup(), spawn_emerg() and start_if_needed().> BTW, fail_check();process_signals(); is equivalent to process_signal();> fail_check();. I think that swapping them (in main loop) would be a good> idea - then we can move fail_check() into start_if_needed(). And one more> - I'ld propose to move start_if_needed to the beginning of the main loop,> as in>       foo();>       while(1) { bar();foo();> #if 0>               baz();> #endif>       }> to>       while(1) { foo();bar();> #if 0>               baz();> #endif>       }>>> What do you think about it?

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -