Merge pull request #1699 from chandnich/sgi-mt-support

Add support to implement multi-threaded platforms for SGI