[JIRA] (HCOLL-34) three issues fixed:
1. Inconsistent use of signed and unsigned ints
2. Locking not returning true when the lock is granted when the lock counter is incremented
3. Handling when there are the same thread id used in multiple processes - though this last issue isn't properly fixed, the workaround is to use AffinitySupport.setThreadId() - but if the counter is incremented sufficiently the error message will note the workaround