mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
pthread_create: Fix an (unlikely) error in fallback value in the event of a failure (which should never occur)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user