add lyxThread.h