mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
testing: ostest: Fix a warning in cond.c for non-SMP configurations.
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
parent
127fe118b9
commit
dd9059203d
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ static void *thread_signaler(void *parameter)
|
|||
signaler_nerrors++;
|
||||
}
|
||||
|
||||
#if CONFIG_SMP_NCPUS > 1
|
||||
#if defined(CONFIG_SMP) && (CONFIG_SMP_NCPUS > 1)
|
||||
/* Workaround for SMP:
|
||||
* In multi-core environment, thread_signaler would be excecuted prior
|
||||
* to the thread_waiter, even though priority of thread_signaler is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue