给我一些关于REAPER的信息

时间:2010-08-27 07:31:04

标签: perl

我的perl代码已经看到REAPER已用作SIGCHLD信号的信号处理程序。

$SIG{CHLD} = \&REAPER;

该功能也未在代码中定义。任何人都可以深刻解释“REAPER”的内部操作。

提前致谢。

2 个答案:

答案 0 :(得分:2)

  • 读取:PerlIPC -Perl进程间通信(信号, fifos,pipe,safe subprocesses, 套接字和信号量。)

  • 拉里的“Perl编程第三版”第16.01章
  • 阅读“收获僵尸”

答案 1 :(得分:2)

    All Our perls have run
    Here but now they're hung
    Children don't fear the reaper
    Nor Do the wind, the sun or the rain
    We can be like they are

    Come on process, Don't fear the Reaper
    Baby take My file, Don't fear the Reaper
    We'll be able to crash, Don't fear the Reaper
    Baby it's your code

REAPER只是您必须自己编写的代码的占位符名称。有关详细信息,请参阅perlipc