《The Linux Programming Interface》的原文摘录

  • In order to access an IPC object, a process must have some means of identifying the object, and once the object has been “opened,” the process must use some type of handle to refer to the open object. Table 43-1 summarizes these properties for the various types of IPC facilities. (查看原文)
    jeff 2015-04-06 09:06:24
    —— 引自第882页
  • Named semaphores: This type of semaphore has a name. By calling sem_open() with the same name, unrelated processes can access the same semaphore. (查看原文)
    jeff 2015-05-13 21:05:45
    —— 引自第1089页
  • X/Opena联网服务。 (查看原文)
    辣舞斯旮雷特 2016-01-27 18:48:01
    —— 引自第10页
  • At any point in time, one of the process groups in a session is the foreground process group for the terminal, and the others are background process groups. Only processes in the foreground process group can read input from the controlling terminal. When the user types one of the signal-generating terminal characters on the controlling terminal, a signal is sent to all members of the foreground process group. These characters are the interrupt character (usually Control-C), which generates SIGINT; the quit character (usually Control-\), which generates SIGQUIT; and the suspend character (usually Control-Z), which generates SIGTSTP. (查看原文)
    jeff 2016-04-03 19:36:49
    —— 引自第700页
  • 使用makstemp()之类的函数确保这个文件的文件名不会不可预测 (查看原文)
    maxy218 2017-06-24 08:35:03
    —— 引自第648页
  • should at least ensure that the file has an unpredictable name, by using a function such as mkstemp() (查看原文)
    maxy218 2017-06-24 08:35:03
    —— 引自第648页
  • 与静态库不同,可以向之前构建的共享库中添加单个目标模块,也可以从中删除单个目标模块。与普通的可执行文件一样,共享库中的目标文件不再维护不同的身份 (查看原文)
    maxy218 2017-06-27 07:26:36
    —— 引自第687页
  • Unlike static libraries, it is not possible to add or remove individual object modules from a previously built shared library. (查看原文)
    maxy218 2017-06-27 07:26:36
    —— 引自第687页
  • “如果各个进策划那个都可以执行其第二个步骤” (查看原文)
    maxy218 2回复 2017-06-27 22:56:36
    —— 引自第752页
  • “如果各个进程都可以执行其第二个步骤” (查看原文)
    maxy218 2回复 2017-06-27 22:56:36
    —— 引自第752页
  • 只有C库的实现人员才需要使用ipc(2)ipc(2) (查看原文)
    maxy218 2017-06-27 23:16:23
    —— 引自第757页
  • 尽管重新启动的服务器会重新创建ipc对象,但如果在创建新ipc对象时将同样的key传递给get调用,那么总是会生成同样的标识符。 (查看原文)
    maxy218 2017-06-28 07:40:33
    —— 引自第764页
  • Even if a restarted server re-created the IPC objects, there still would be a potential problem if supplying the same key to the get call always generated the same identi- fier whenever a new IPC object was created. (查看原文)
    maxy218 2017-06-28 07:40:33
    —— 引自第764页
  • A core dump file is generated, and the process is terminated. A core dump file contains an image of the virtual memory of the process, which can be loadedinto a debugger in order to inspect the state of the process at the time that it terminated. (查看原文)
    Prince 2019-01-26 16:26:17
    —— 引自章节:Signals