diff options
author | rpj <rpj> | 2002-01-08 02:21:06 +0000 |
---|---|---|
committer | rpj <rpj> | 2002-01-08 02:21:06 +0000 |
commit | 5f7ea668d6d4c96d9e0efea21ac5e300fda552ad (patch) | |
tree | 3d1f0fddfaf97bd6232edc9b05318d8daa0fca4c /tests/mutex7n.c | |
parent | 0337d817b128c648d97a79f42b303421b5b76386 (diff) |
* mutex.c (pthread_mutex_trylock): use
ptw32_interlocked_compare_exchange function pointer
rather than ptw32_InterlockedCompareExchange() directly
to retain portability to non-iX86 processors,
e.g. WinCE etc. The pointer will point to the native
OS version of InterlockedCompareExchange() if the
OS supports it (see ChangeLog entry of 2001-10-17).
Diffstat (limited to 'tests/mutex7n.c')
0 files changed, 0 insertions, 0 deletions