nuttx-mirror/sched/sched
dongjiuzhu1 4e24eec7b6 sched/group/setuptask_file: duplicate idle task fd for kernel thread
The file descriptors of kernel threads should be clean and should
not be generated based on user threads. Instead, an idle thread
hould be chosen.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2024-09-09 19:45:29 +08:00
..
CMakeLists.txt smp: enable smp_call in all smp arch 2024-09-06 07:11:38 +09:00
Make.defs smp: enable smp_call in all smp arch 2024-09-06 07:11:38 +09:00
sched.h sched/group/setuptask_file: duplicate idle task fd for kernel thread 2024-09-09 19:45:29 +08:00
sched_addblocked.c sched: semaphore wait list optimize 2022-09-28 18:08:37 +08:00
sched_addprioritized.c sched: remove unnecessary type cast 2022-12-15 09:44:32 +08:00
sched_addreadytorun.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
sched_backtrace.c up_backtrace: fix maybe backtrace the exiting thread 2024-07-26 12:03:43 +08:00
sched_cpuload.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
sched_cpuload_oneshot.c sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
sched_cpuload_period.c sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
sched_cpupause.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_cpuselect.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
sched_critmonitor.c clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
sched_dumponexit.c files: add files_dumplist api, replace dumponexit implementation 2024-06-30 17:30:42 +08:00
sched_foreach.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
sched_get_stackinfo.c Update kconfig2html.c 2023-12-14 20:02:52 -08:00
sched_get_stateinfo.c paging: Rename existing CONFIG_PAGING to CONFIG_LEGACY_PAGING 2024-03-05 09:45:49 +08:00
sched_get_tls.c sched:fix windows sim build error 2024-08-14 22:36:57 +08:00
sched_getaffinity.c sched/sched: There is no need to use sched_[un]lock 2024-04-30 11:34:24 -03:00
sched_getcpu.c sched/cpu: replace up_cpu_index() to this_cpu() 2024-03-21 18:52:35 +08:00
sched_getfiles.c sched/spawn: remove spawn proxy thread to simplify task/posix_spawn() 2023-04-27 17:35:58 +08:00
sched_getparam.c sched/sched: There is no need to use sched_[un]lock 2024-04-30 11:34:24 -03:00
sched_getscheduler.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_gettcb.c sched: update spinlock in nxsched_get_tcb to enter_critical_section 2024-09-03 09:45:33 -03:00
sched_idletask.c init: add OSINIT_TASK_READY 2024-09-06 11:25:34 +08:00
sched_lock.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
sched_lockcount.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_mergepending.c irq: All irq_cpu_locked is called in the critical_section, and the parameter is the current cpu id. 2024-04-12 17:40:23 +08:00
sched_mergeprioritized.c Remove the unnessary empty line after label 2022-09-30 17:54:56 +02:00
sched_processtimer.c sched/cpuload: add SCHED_CPULOAD_OSCLK option 2023-08-04 10:58:54 -07:00
sched_releasetcb.c sched/tcb: fix 12320 regression 2024-06-26 00:20:26 +08:00
sched_removeblocked.c toolchain/ghs: Fix tstate_t "enumerated type mixed with another type" warnings 2024-08-27 01:39:37 +08:00
sched_removereadytorun.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
sched_reprioritize.c sched/semaphore: fix priority boost restoration for priority inheritance 2022-10-03 15:14:24 -03:00
sched_reprioritizertr.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
sched_resumescheduler.c sched/sched: CONFIG_SCHED_RESUMESCHEDULER macro define error 2024-05-09 01:39:47 +08:00
sched_roundrobin.c nuttx: Use MIN/MAX definitions from "sys/param.h" 2023-02-01 23:47:44 +08:00
sched_rrgetinterval.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_self.c Run nxstyle against all .c and .h files modified by this PR. 2020-05-09 14:19:08 -03:00
sched_setaffinity.c sched: Make sure that affinity mask is valid 2024-09-05 21:26:58 +08:00
sched_setparam.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_setpriority.c sched/sched: simplify the implementation of the function nxsched_readytorun_setpriority 2024-09-08 17:53:59 +08:00
sched_setscheduler.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
sched_smp.c smp: smp call handler add up_cpu_paused_[save|restore] 2024-09-05 09:35:17 -03:00
sched_sporadic.c mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
sched_suspend.c sched/tasklist: replace task status list with macro definition 2024-03-21 11:23:46 +09:00
sched_suspendscheduler.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched_sysinfo.c sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
sched_timerexpiration.c sched: Stop the sched timer when possible to save the power in tickless mode 2023-12-17 08:25:11 -06:00
sched_unlock.c sched:remove g_cpu_schedlock g_cpu_irqsetlock g_cpu_locksetlock 2024-06-21 11:11:07 +09:00
sched_verifytcb.c Revert "sched: replace some global variables to macro" 2024-06-06 22:00:25 +08:00
sched_wait.c sched: remove the unused function nx_wait and nx_waitid 2022-10-28 21:19:46 +02:00
sched_waitid.c sched/sched: There is no need to use sched_[un]lock 2024-04-30 11:34:24 -03:00
sched_waitpid.c sched/sched: There is no need to use sched_[un]lock 2024-04-30 11:34:24 -03:00
sched_yield.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00