Added getThreadId() support for MAC OSX
Merge pull request #5 from danielshaya/master

Added getThreadId() support for MAC OSX
The threadId must be an unsigned 16 bit
The threadId must be an unsigned 16 bit
Merge pull request #6 from danielshaya/master

The threadId must be an unsigned 16 bit