f_pthread_cleanup_pop(exec)

Purpose

This subroutine should be paired with f_pthread_cleanup_push in using the cleanup stack for thread safety. If the supplied argument exec contains a non-zero value, the last pushed cleanup function will be popped from the cleanup stack and executed, with the argument arg (from the last f_pthread_cleanup_push) passed to the cleanup function.

If exec contains a zero value, the last pushed cleanup function will be popped from the cleanup stack, but will not be executed.

Class

Subroutine

Argument Type and Attributes

exec
INTEGER(4), INTENT(IN)

Result Type and Attributes

None.

Result Value

None. IBM Copyright 2003