Commit 5e3e4fe8 by Jonathan Wakely Committed by Jonathan Wakely

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
parent ee14eae1
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):
......
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment