开发者

What is SIGUSR2 used for in the TCL interpreter?

I'm getting a user defined signal 2 error from the tcl interpreter. What does the tcl interpreter use this particular signal for? In other words, what does it mean if the tcl interpreter send me a user de开发者_如何转开发fined signal 2?

It is an elapsed timeout? Is it lack of memory? Where can I find out?


Tcl does not use this signal for itself in any way. It does not generate it, it does not set a special handler for it, and it does not provide any scripted way to respond to it. If you are using TclX or Expect, you can generate it with kill and define your own handler with signal. But you have to do those for yourself, nothing does it for you.

IIRC, some memory managers use signals as part of how they operate. I claim no expertise in the matter.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜