windows thread timer added, need test; add porcessor number function;add apple mac support, need support;