incubator-nuttx/sched/mqueue
hujun5 1c5a0bf6cc irq: add [enter|leave]_critical_section_nonirq
Configuring NuttX and compile:
$ ./tools/configure.sh -l qemu-armv8a:nsh_smp
$ make
Running with qemu
$ qemu-system-aarch64 -cpu cortex-a53 -smp 4 -nographic \
   -machine virt,virtualization=on,gic-version=3 \
   -net none -chardev stdio,id=con,mux=on -serial chardev:con \
   -mon chardev=con,mode=readline -kernel ./nuttx

reason:
In some non-irq scenarios, we can simplify
the implementation of critical sections to improve performance.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-09-08 17:50:51 +08:00
..
CMakeLists.txt sched/mqueue: merge System-V message queue initialize into posix 2024-03-26 17:32:11 +01:00
Make.defs sched/mqueue: merge System-V message queue initialize into posix 2024-03-26 17:32:11 +01:00
mq_getattr.c
mq_initialize.c sched/mqueue: move message queue buffer to bss 2024-06-04 14:26:55 +08:00
mq_msgfree.c sched/mqueue: replace inline linklist to improve performance 2022-06-12 00:34:05 +08:00
mq_msgqalloc.c sched/mqueue: decoupling condition member to common prologue 2022-10-22 12:58:11 +08:00
mq_msgqfree.c sched/mqueue: replace inline linklist to improve performance 2022-06-12 00:34:05 +08:00
mq_notify.c sched/mqueue: configurable mqueue notification 2022-06-11 14:51:09 +08:00
mq_rcvinternal.c sched/mqueue/mq_receive: fix the wrong return value when message queue is not opened for reading. 2023-08-03 03:10:56 -07:00
mq_receive.c irq: add [enter|leave]_critical_section_nonirq 2024-09-08 17:50:51 +08:00
mq_recover.c sched/mqueue: decoupling condition member to common prologue 2022-10-22 12:58:11 +08:00
mq_send.c sched/mqueue/mq_send: fix the wrong return value in mq_send function. And add the condition if message priority equal to MQ_PRIO_MAX. 2023-08-03 03:10:56 -07:00
mq_setattr.c
mq_sndinternal.c nuttx: fix multiple 'FAR', 'CODE' and style issues 2024-08-25 19:22:15 +08:00
mq_timedreceive.c irq: add [enter|leave]_critical_section_nonirq 2024-09-08 17:50:51 +08:00
mq_timedsend.c irq: add [enter|leave]_critical_section_nonirq 2024-09-08 17:50:51 +08:00
mq_waitirq.c nuttx/sched: merge up_block_task and up_unblock_task 2022-11-22 22:59:08 +08:00
mqueue.h Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
msg.h sched/mqueue: merge System-V message queue initialize into posix 2024-03-26 17:32:11 +01:00
msgctl.c sched/msgq: add support of System V message queue 2022-10-22 12:58:11 +08:00
msgget.c sched/msgq: add support of System V message queue 2022-10-22 12:58:11 +08:00
msginternal.c sched/mqueue: correct list parameter 2024-04-11 22:19:34 +08:00
msgrcv.c nuttx/sched: merge up_block_task and up_unblock_task 2022-11-22 22:59:08 +08:00
msgsnd.c nuttx/sched: merge up_block_task and up_unblock_task 2022-11-22 22:59:08 +08:00