kevin
|
fd3db429d2
|
Apply a license notice to all source code files. Add the LICENSE and COPYING files.
|
4 gadus atpakaļ |
kevin
|
f36c81aae3
|
Rearrangment of library to support building inside of a project or independently.
|
4 gadus atpakaļ |
kevin
|
b16d338592
|
cmThread.c : Fixed bug in cmThPtrCAS() where #ifdef OS_VER_10_5 was used
instead of #ifdef OS_64.
|
10 gadus atpakaļ |
kevin
|
beefa4ef42
|
cmMath.c, cmThread.c : Replaced type casting with use of unions to do type conversion in byte swap and CAS functions.
This was required to address a strict-aliasing violation in the release build.
|
11 gadus atpakaļ |
kevin
|
544fe4acc4
|
cmThread.c : Changed OS_VER_10_6 TO OSX_VER_10_5 to better reflect the
reason for the conditional compilation.
|
11 gadus atpakaļ |
kpl
|
c1289070d2
|
cmThread.h/c: Added cmTs1p1cSetCallback().
|
11 gadus atpakaļ |
kevin
|
11b11347a0
|
cmThread.c : Changed OS_64 cond. compilation to OS_VER_10_6. This needs
more work to fix correctly.
|
11 gadus atpakaļ |
kevin
|
cb19fb10a2
|
cmThread.c : Changed cmThPtrCAS() to select the CAS system call based on
OS_64 when compiling under OSX. This allows backward compatibility with older
version of OSX.
|
11 gadus atpakaļ |
kevin
|
caa4b558aa
|
cmThread.c: Changed OSAtomicCompareAndSwap32Barrier() to OSAtomicCompareAndSwap64Barrier()
as part of port to spat-lab Mac.
|
11 gadus atpakaļ |
kevin
|
b82a0d0edd
|
cmThread.c:Added OSX specific atomic operations.
|
11 gadus atpakaļ |
kevin
|
b3b492f094
|
cmThread.h/c: cmSleepMs() and cmSleepUs() and replaced all references to usleep() in many files.
|
11 gadus atpakaļ |
kpl
|
6b445b0f9d
|
cmThread:Added cmThPtrCAS()
|
12 gadus atpakaļ |
kevin
|
b108da1911
|
Initial commit
|
12 gadus atpakaļ |