The text 299207d56c51, as Debian 12 (Bookworm) shipped it.
set cancelability state and type
pthread_setcanceltype(3) on Linux now