...
There is no safe way to implement persistent signal handler behavior on Windows platforms, and consequently it should not be attempted. In cases where a design depends on this behavior , and the design can not cannot be altered, it may be necessary to claim a deviation from the rule after completing an appropriate risk analysis.
...