Destroys the signal set.
~signal_set();
This function destroys the signal set, cancelling any outstanding asynchronous wait operations associated with the signal set as if by calling cancel.
cancel