htl: Let pthread_self and cancellability called early
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 28 Jul 2022 20:01:49 +0000 (22:01 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 1 Aug 2022 22:00:03 +0000 (00:00 +0200)
commit70ff58ced45edf0e3483eddbb61203037bdfdaaa
treee13a7e5d61fe5b6048df5ece378f78c65c1ef41b
parentc622ac1b8662908b595ec1a19e401ad6a629f52c
htl: Let pthread_self and cancellability called early

When applications redirect some functions they might get called before
libpthread is fully initialized.  They may still expected pthread_self
and cancellable functions to work, so cope with such calls in that
situation.
htl/cancellation.c
htl/pt-self.c