summaryrefslogtreecommitdiff
path: root/gcc/gthr-vxworks.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gthr-vxworks.h')
-rw-r--r--gcc/gthr-vxworks.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/gthr-vxworks.h b/gcc/gthr-vxworks.h
index c11d3a20cab..ba813140d76 100644
--- a/gcc/gthr-vxworks.h
+++ b/gcc/gthr-vxworks.h
@@ -61,6 +61,12 @@ __gthread_mutex_init_function (__gthread_mutex_t *mutex)
}
static inline int
+__gthread_mutex_destroy (__gthread_mutex_t * UNUSED(mutex))
+{
+ return 0;
+}
+
+static inline int
__gthread_mutex_lock (__gthread_mutex_t *mutex)
{
return semTake (*mutex, WAIT_FOREVER);