From 012b9c3dfef0ac5c48331f05a05cf14b2c992708 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 10 Sep 2010 02:34:19 +0000 Subject: [PATCH] Fix race condition when semaphore wait is interrupted by a signl git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2935 42af7a65-404d-4744-a932-0658087f49c3 --- ChangeLog | 5 +++++ Documentation/NuttX.html | 27 ++++++++++++++++++++++----- sched/sem_holder.c | 5 +++-- sched/sem_wait.c | 21 +++++++++++++++------ sched/sem_waitirq.c | 19 ++++++++++++++++++- 5 files changed, 63 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2499469a339..96f0e79bf50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1274,3 +1274,8 @@ reading from offsets into this file that correspond to virtual fault addresses. up_fillpage.c implements logic to perform page files using the CONFIG_PAGING_BINPATH file. + * configs/mbed - Add configuration to support the mbed.org LPC1768 + board (Contributed by Dave Marples). + * sched/sem_wait.c and sem_waitirq.c - Eliminate a race condition + that can occur when a semaphore wait is interrupt by a signal. + (see email thread: http://tech.groups.yahoo.com/group/nuttx/message/530) diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 427f08687bb..403d0d69776 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: September 8, 2010

+

Last Updated: September 9, 2010

@@ -1262,10 +1262,19 @@

NXP LPC1768. - This port uses the Nucleus 2G board from 2G Engineering - featuring the NXP LPC1768 MCU. - This port uses a GNU arm-elf or arm-eabi toolchain* under either Linux or Cygwin (with native Windows GNU - tools or Cygwin-based GNU tools). + Configurations are available for two boards: +

+

+

+ Both boards feature the NXP LPC1768 MCU and a GNU arm-elf or arm-eabi toolchain* under + either Linux or Cygwin (with native Windows GNU tools or Cygwin-based GNU tools).