aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-gimplify.c
diff options
context:
space:
mode:
authorWu Yongwei <adah@sh163.net>2004-06-23 23:57:27 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2004-06-23 23:57:27 +0000
commit42dfcf84c26960bcc9c0d2f77f9c9ab4ce424927 (patch)
tree71286fc768d32129b2b42546dd5ec76ecaa760bc /gcc/c-gimplify.c
parent11ac38b22e3f3de50a968364c86c1430e56627ac (diff)
downloadgcc-42dfcf84c26960bcc9c0d2f77f9c9ab4ce424927.zip
gcc-42dfcf84c26960bcc9c0d2f77f9c9ab4ce424927.tar.gz
gcc-42dfcf84c26960bcc9c0d2f77f9c9ab4ce424927.tar.bz2
gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust.
2004-06-23 Wu Yongwei <adah@sh163.net> * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust. (__gthr_i486_lock_cmp_xchg): New inline assembly function. (__GTHR_W32_InterlockedCompareExchange): New macro to choose a suitable function for interlocked compare-and-exchange. (__gthread_mutex_trylock): Use __GTHR_W32_InterlockedCompareExchange. (__gthread_mutex_init_function, __gthread_mutex_lock, __gthread_mutex_trylock, __gthread_mutex_unlock): Adjust the initial counter value to work correctly under Windows 95. * config/i386/gthr-win32.c: Adjust include order. Define __GTHREAD_I486_INLINE_LOCK_PRIMITIVES before including gthr-win32.h. (__gthr_win32_mutex_init_function, __gthr_win32_mutex_lock, __gthr_win32_mutex_trylock, __gthr_win32_mutex_unlock): Adjust to match inline versions in gthr-win32.h. From-SVN: r83569
Diffstat (limited to 'gcc/c-gimplify.c')
0 files changed, 0 insertions, 0 deletions