add demo about pthread_cancel