re PR other/53889 (Gthreads doesn't support destroying recursive mutexes)

PR other/53889
	* config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
	Fix parameter names.

From-SVN: r192114
This commit is contained in:
Jonathan Wakely 2012-10-05 07:35:12 +00:00 committed by Jonathan Wakely
parent ee14eae121
commit 5e3e4fe874
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2012-10-05 Jonathan Wakely <jwakely.gcc@gmail.com>
PR other/53889
* config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
Fix parameter names.
2012-10-04 Oleg Endo <olegendo@gcc.gnu.org>
PR target/33135
@ -22,6 +28,8 @@
* gthr-single.h (__gthread_recursive_mutex_destroy): Likewise.
* config/gthr-rtems.h (__gthread_recursive_mutex_destroy): Likewise.
* config/gthr-vxworks.h (__gthread_recursive_mutex_destroy): Likewise.
* config/i386/gthr-win32.c (__gthread_win32_recursive_mutex_destroy):
Likewise.
* config/i386/gthr-win32.h (__gthread_recursive_mutex_destroy):
Likewise.
* config/mips/gthr-mipssde.h (__gthread_recursive_mutex_destroy):

View File

@ -538,7 +538,7 @@ __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex)
}
static inline int
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *mutex)
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex)
{
return __gthr_win32_recursive_mutex_destroy (__mutex);
}
@ -769,9 +769,9 @@ __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *__mutex)
}
static inline int
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *mutex)
__gthread_recursive_mutex_destroy (__gthread_recursive_mutex_t *__mutex)
{
CloseHandle ((HANDLE) mutex->sema);
CloseHandle ((HANDLE) __mutex->sema);
return 0;
}