nuttx/sched
walker.zeng 76b2f7199d sched: fix the bug of task's tmeslice
The BUG is as follow:
 1. Suppose there are two ready tasks t1 and t2 have the same priority, and t1 is the running.
 2. A new, higher priority task t0 (such as hpwork) is ready, then switch to t0.
 3. After t0 is suspended, then switch to t1 and reset the t1's timeslice.
 4. goto 2
The t2 will have no chance to run.

Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com>
2021-12-30 18:01:56 +08:00
..
clock Move timespec calculations from sched into libc/sched 2021-11-04 13:19:01 -05:00
environ Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group group/child_status: Dynamically expand group child_status 2021-07-15 20:14:57 -07:00
init init: use exec_spawn instead of exec 2021-12-24 08:23:30 -06:00
irq mm: do kmm_checkcorruption in IRQ when TCB_FLAG_DEBUG_CHECK set 2021-11-17 09:55:19 -06:00
module Rename MODULE_TEXT to TEXT_HEAP as the latter is more generic. 2021-06-18 07:14:17 -05:00
mqueue mq_open: add long file name check and parameter check 2021-10-21 11:01:45 -03:00
paging Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread sched: Fix typos in comments 2021-12-21 11:07:23 -06:00
sched sched: fix the bug of task's tmeslice 2021-12-30 18:01:56 +08:00
semaphore sched:add holder in sem_trywait 2021-12-17 11:28:27 -06:00
signal sched: signal: Introduce a private spinlock in sig_action.c 2021-12-09 00:13:31 -06:00
task sched: Move argv from tcb_s to task_info_s 2021-12-11 10:08:53 -06:00
timer Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
wdog sched:watchdog: remove tick check in wd_timer 2021-11-20 02:28:06 -06:00
wqueue wqueue: fix NO leave_critical_section() when only CONFIG_SCHED_HPWORK 2021-12-23 02:27:34 -06:00
Kconfig init: use exec_spawn instead of exec 2021-12-24 08:23:30 -06:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00