gthr-rtems.h: Implement __gthread_mutex_destroy.
2008-03-05 Joel Sherrill <joel.sherrill@oarcorp.com> * gthr-rtems.h: Implement __gthread_mutex_destroy. From-SVN: r132897
This commit is contained in:
parent
e55f42fb77
commit
fec5fe47e6
@ -1,3 +1,7 @@
|
||||
2008-03-05 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* gthr-rtems.h: Implement __gthread_mutex_destroy.
|
||||
|
||||
2008-03-05 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR c++/35336
|
||||
|
@ -62,6 +62,7 @@ extern int rtems_gxx_setspecific (__gthread_key_t key, const void *ptr);
|
||||
|
||||
/* mutex support */
|
||||
extern void rtems_gxx_mutex_init (__gthread_mutex_t *mutex);
|
||||
extern int rtems_gxx_mutex_destroy (__gthread_mutex_t *mutex);
|
||||
extern int rtems_gxx_mutex_lock (__gthread_mutex_t *mutex);
|
||||
extern int rtems_gxx_mutex_trylock (__gthread_mutex_t *mutex);
|
||||
extern int rtems_gxx_mutex_unlock (__gthread_mutex_t *mutex);
|
||||
@ -111,9 +112,9 @@ __gthread_setspecific (__gthread_key_t key, const void *ptr)
|
||||
}
|
||||
|
||||
static inline int
|
||||
__gthread_mutex_destroy (__gthread_mutex_t * UNUSED(mutex))
|
||||
__gthread_mutex_destroy (__gthread_mutex_t *mutex)
|
||||
{
|
||||
return 0;
|
||||
return rtems_gxx_mutex_destroy (mutex);
|
||||
}
|
||||
|
||||
static inline int
|
||||
|
Loading…
Reference in New Issue
Block a user