How to do a cleanup after SIGKILL?

后端 未结 3 1550
日久生厌
日久生厌 2020-12-31 16:53

I\'m working on a program which uses shared memory. Multiple instances of said program will either connect to an existing one or create it anew, and give it back to OS when

3条回答
  •  滥情空心
    2020-12-31 17:19

    No, SIGKILL cannot be caught in any way by your application - if it could, the application could ignore it, which would defeat its purpose.

提交回复
热议问题