Move THREAD_JOIN_IMPLEMENTED to constants.h.