chsvlib
chsv helper source code

◆ set_thread_security_constraint_violation_procedure()

security_constraint_violation_procedure Chusov::set_thread_security_constraint_violation_procedure ( security_constraint_violation_procedure  proc)
noexcept

Sets a procedure called when a security violation defined by ISO-IEC TR 24731-1 is detected via verify_security_constraint.

Parameters
procA pointer to the procedure set to react upon a runtime constraint violation.
Returns
A previously set procedure used to react upon a runtime constraint violation.

The effect of the call is has effect only in the context of the calling thread.