add some define, thinking application and thread