Define __pthread_last_event.