Commit 0491aef86c41e9d1de19a64e1780ff82d35ccf54

Theo Buehler 2023-12-12T23:20:44

pthreads.h: avoid undefined behavior You can't pass a function pointer through a void pointer. So wrap the pthread callback in a struct. Fixes #966