summaryrefslogtreecommitdiff
path: root/sysdeps/generic/pt-mutexattr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/pt-mutexattr.c')
-rw-r--r--sysdeps/generic/pt-mutexattr.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/generic/pt-mutexattr.c b/sysdeps/generic/pt-mutexattr.c
index 647db241..d80a7d74 100644
--- a/sysdeps/generic/pt-mutexattr.c
+++ b/sysdeps/generic/pt-mutexattr.c
@@ -1,5 +1,5 @@
/* Default mutex attributes. Generic version.
- Copyright (C) 2000,02 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -27,3 +27,11 @@ const struct __pthread_mutexattr __pthread_default_mutexattr =
pshared: PTHREAD_PROCESS_PRIVATE,
mutex_type: PTHREAD_MUTEX_DEFAULT
};
+
+const struct __pthread_mutexattr __pthread_recursive_mutexattr =
+{
+ prioceiling: 0,
+ protocol: PTHREAD_PRIO_NONE,
+ pshared: PTHREAD_PROCESS_PRIVATE,
+ mutex_type: PTHREAD_MUTEX_RECURSIVE
+};