diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-11 15:19:27 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-03-11 15:19:27 +0000 |
commit | 84e39114ef36f4f202028695936e3725b9a08474 (patch) | |
tree | 1b76344540036a57ec23806ad0e4e22b62c916c3 /gcc/gthr-win32.h | |
parent | f778423557464b07c76cbf36e2032cccb94c02bc (diff) | |
download | gcc-84e39114ef36f4f202028695936e3725b9a08474.tar.gz |
2008-03-11 Basile Starynkevitch <basile@starynkevitch.net>
merged with trunk r133107
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@133113 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gthr-win32.h')
-rw-r--r-- | gcc/gthr-win32.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/gthr-win32.h b/gcc/gthr-win32.h index b75c8654a08..adf6efb81a5 100644 --- a/gcc/gthr-win32.h +++ b/gcc/gthr-win32.h @@ -423,6 +423,7 @@ extern int __gthr_win32_recursive_mutex_lock (__gthread_recursive_mutex_t *); extern int __gthr_win32_recursive_mutex_trylock (__gthread_recursive_mutex_t *); extern int __gthr_win32_recursive_mutex_unlock (__gthread_recursive_mutex_t *); +extern void __gthr_win32_mutex_destroy (__gthread_mutex_t *); static inline int __gthread_once (__gthread_once_t *once, void (*func) (void)) @@ -463,6 +464,12 @@ __gthread_mutex_init_function (__gthread_mutex_t *mutex) __gthr_win32_mutex_init_function (mutex); } +static inline void +__gthread_mutex_destroy (__gthread_mutex_t *mutex) +{ + __gthr_win32_mutex_destroy (mutex); +} + static inline int __gthread_mutex_lock (__gthread_mutex_t *mutex) { |