Add support for recursive mutexes

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@753 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-05-31 17:13:08 +00:00
parent daddb56b57
commit c7931a021e
4 changed files with 26 additions and 3 deletions

View File

@ -180,6 +180,8 @@ defconfig -- This is a configuration file similar to the Linux
CONFIG_JULIAN_TIME - Enables Julian time conversions
CONFIG_DEV_CONSOLE - Set if architecture-specific logic
provides /dev/console. Enables stdout, stderr, stdin.
CONFIG_MUTEX_TYPES - Set to enabled support for recursive and
errorcheck mutexes. Enables pthread_mutexattr_settype().
The following can be used to disable categories of APIs supported
by the OS. If the compiler supports weak functions, then it

View File

@ -35,6 +35,8 @@
include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
ifneq ("${CONFIG_DEBUG}","y")
ARCHOPTIMIZATION = -g
else
@ -62,7 +64,12 @@ AFLAGS = $(CFLAGS) -D__ASSEMBLY__
OBJEXT = .o
LIBEXT = .a
EXEEXT =
ifeq ($(HOSTOS),Cygwin)
EXEEXT = .exe
else
EXEEXT =
endif
ifeq ("${CONFIG_DEBUG}","y")
LDFLAGS += -g

View File

@ -35,6 +35,8 @@
include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
ifneq ("${CONFIG_DEBUG}","y")
ARCHOPTIMIZATION = -g
else
@ -62,7 +64,12 @@ AFLAGS = $(CFLAGS) -D__ASSEMBLY__
OBJEXT = .o
LIBEXT = .a
EXEEXT =
ifeq ($(HOSTOS),Cygwin)
EXEEXT = .exe
else
EXEEXT =
endif
ifeq ("${CONFIG_DEBUG}","y")
LDFLAGS += -g

View File

@ -35,6 +35,8 @@
include ${TOPDIR}/.config
HOSTOS = ${shell uname -o}
ifneq ("${CONFIG_DEBUG}","y")
ARCHOPTIMIZATION = -g
else
@ -62,7 +64,12 @@ AFLAGS = $(CFLAGS) -D__ASSEMBLY__
OBJEXT = .o
LIBEXT = .a
EXEEXT =
ifeq ($(HOSTOS),Cygwin)
EXEEXT = .exe
else
EXEEXT =
endif
ifeq ("${CONFIG_DEBUG}","y")
LDFLAGS += -g