gthr-win32.h (__gthread_recursive_mutex_t): Use 'unsigned long', not Windows 'DWORD'.
authorWu Yongwei <adah@sh163.net>
Wed, 1 Sep 2004 23:18:54 +0000 (23:18 +0000)
committerDanny Smith <dannysmith@gcc.gnu.org>
Wed, 1 Sep 2004 23:18:54 +0000 (23:18 +0000)
commit40219f9650a956d7fbff36721fae3a5b761311b1
treec0cf7a4d0974baae80291d2385965871d0eb1773
parentba2e294dfbbb6790b8f26e654b487a6aae94a1c7
gthr-win32.h (__gthread_recursive_mutex_t): Use 'unsigned long', not Windows 'DWORD'.

* gthr-win32.h (__gthread_recursive_mutex_t): Use 'unsigned long',
not Windows 'DWORD'.
(__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Correct typo.
(__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise.
(__gthr_win32_recursive_mutex_init_function): Add prototype for
__GTHREAD_HIDE_WIN32API case..
(__gthr_win32_recursive_mutex_lock): Likewise.
(__gthr_win32_recursive_mutex_trylock): Likewise.
(__gthr_win32_recursive_mutex_unlock): Likewise.
(__gthread_recursive_mutex_init_function); Add definition for
__GTHREAD_HIDE_WIN32API case.
(__gthread_recursive_mutex_lock): Correct call to InterlockedDecrement.
* config/i386/grthr-win32.c (__gthread_recursive_mutex_lock): Correct
call to InterlockedDecrement.

Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net>
From-SVN: r86939
gcc/ChangeLog
gcc/config/i386/gthr-win32.c
gcc/gthr-win32.h