Somehow didn't add changes to thread.h...

Signed-off-by: Alex Smith <alex@alex-smith.me.uk>