Fix wrong prototypes for both threads