update : prepare pthread implementation for linux port
- feature : add preprocessor definition for gnu linux.
- feature : prepare pthread implementation.