pthread_create: Fix an (unlikely) error in fallback value in the event of a failure (which should never occur)
This commit is contained in:
parent
146bdc3c93
commit
aa90da2bc8
|
@ -10754,3 +10754,5 @@
|
|||
* include/nuttx/sched.h, sched/, and fs/procfs: Increase the size of
|
||||
the scheduling policy field from 1 to 2 bits to allow additional,
|
||||
planned scheduling policies (2015-07-23).
|
||||
* pthread_create: Fix an (unlikely) error in fallback value in the
|
||||
event of a failure (which should never occur) (2015-07-23).
|
||||
|
|
|
@ -324,7 +324,7 @@ int pthread_create(FAR pthread_t *thread, FAR const pthread_attr_t *attr,
|
|||
}
|
||||
else
|
||||
{
|
||||
priority = SCHED_FIFO;
|
||||
priority = PTHREAD_DEFAULT_PRIORITY;
|
||||
}
|
||||
|
||||
#if CONFIG_RR_INTERVAL > 0
|
||||
|
|
Loading…
Reference in New Issue