Silphireの日記: pthread日記(5) - pthread_cleanup_pop()
日記 by
Silphire
cancellation handlerが登録されているスタックの一番上のhandlerを取り出します。
void pthread_cleanup_pop(int execute);
pthread_cleanup_push()で専用のスタックに積まれたcancellation handlerを取り出します。引数executeが0の時は取り出したhandlerをそのまま廃棄して終わりです。非0の時は、取り出したhandlerを実行します。
pthread日記(5) - pthread_cleanup_pop() More ログイン