You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2024/09/27 15:46:53 UTC

(nuttx) branch master updated: nuttx/sched: Disable RW_SPINLOCK by default

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 8d776ffbe0 nuttx/sched: Disable RW_SPINLOCK by default
8d776ffbe0 is described below

commit 8d776ffbe02383d691a1bbdad071935a25a981ab
Author: yanghuatao <ya...@xiaomi.com>
AuthorDate: Fri Apr 12 07:06:00 2024 +0800

    nuttx/sched: Disable RW_SPINLOCK by default
    
    Signed-off-by: yanghuatao <ya...@xiaomi.com>
---
 sched/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sched/Kconfig b/sched/Kconfig
index f1749e6d50..8194ff792c 100644
--- a/sched/Kconfig
+++ b/sched/Kconfig
@@ -312,7 +312,7 @@ config TICKET_SPINLOCK
 
 config RW_SPINLOCK
 	bool "Support read-write Spinlocks"
-	default y
+	default n
 	---help---
 		Spinlocks are spilit into read and write lock.
 		Reader can take read lock simultaneously and only one writer