nuttx/sched/pthread
ligd e59f161fc2 pthread: remove unused temp change sched_priority
old:
pthread_create:

init_priority = prio;
if (sched_priority < parent_prio)
    sched_priority = parent_prio;    // don't need

pthread_start:

if (sched_priority > init_priority)
    sched_priority = init_priority

Signed-off-by: ligd <liguiding1@xiaomi.com>
2023-08-11 21:45:16 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Make.defs system: pthread_barrierwait should be moved to kernel space 2023-04-25 15:34:40 +08:00
pthread_barrierwait.c system: pthread_barrierwait should be moved to kernel space 2023-04-25 15:34:40 +08:00
pthread_cancel.c sched/pthread: Don't do cancel when it is already in the exit process 2023-08-03 03:12:36 -07:00
pthread_completejoin.c sched: fix pthread_exit crash 2023-06-28 15:17:17 +08:00
pthread_condbroadcast.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condclockwait.c signal: remove unused SIGCONDTIMEDOUT 2023-03-23 17:17:25 -06:00
pthread_condsignal.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_condwait.c sched/pthread: fix race condition on pthread_cond_wait() 2023-06-28 02:25:05 +08:00
pthread_create.c pthread: remove unused temp change sched_priority 2023-08-11 21:45:16 +08:00
pthread_detach.c sched/pthread: Return ESRCH when the task is in the process of exit. 2023-06-15 10:12:25 -03:00
pthread_exit.c sched: fix pthread_exit crash 2023-06-28 15:17:17 +08:00
pthread_findjoininfo.c sched/pthread: Return ESRCH when the task is in the process of exit. 2023-06-15 10:12:25 -03:00
pthread_getaffinity.c
pthread_getschedparam.c
pthread_initialize.c sched/pthread: add missing FAR and fix alignment issues 2023-07-07 17:39:39 -03:00
pthread_join.c nuttx: replace getpid() with nxsched_getpid() in kernel code 2023-07-07 17:39:39 -03:00
pthread_mutex.c Remove intr param from pthread_mutex_take 2022-12-08 03:13:44 +08:00
pthread_mutexconsistent.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutexdestroy.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutexinconsistent.c
pthread_mutexinit.c sched: Remove the unnecessary (FAR sem_t *) cast 2022-10-29 21:12:40 +02:00
pthread_mutextimedlock.c sched/pthread: repalce sched_lock to enter_critical_section 2023-04-24 01:54:44 +08:00
pthread_mutextrylock.c sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
pthread_mutexunlock.c pthread: sched_lock should replace with enter_critical_secion 2023-05-06 23:12:20 +08:00
pthread_release.c
pthread_setaffinity.c
pthread_setschedparam.c
pthread_setschedprio.c
pthread_sigmask.c ltp: sigprocmask fix 2023-07-31 22:29:31 -07:00
pthread.h sched/pthread: add missing FAR and fix alignment issues 2023-07-07 17:39:39 -03:00