This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit e30a0602a08613c1265eadd2f1230301b1b17404 Author: Petro Karashchenko <[email protected]> AuthorDate: Tue Apr 11 16:05:31 2023 +0300 testing/ostest: add missing section comments Signed-off-by: Petro Karashchenko <[email protected]> --- testing/ostest/prioinherit.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/testing/ostest/prioinherit.c b/testing/ostest/prioinherit.c index 6a96393de..1490aff2f 100644 --- a/testing/ostest/prioinherit.c +++ b/testing/ostest/prioinherit.c @@ -66,11 +66,7 @@ #define PRIORIY_SPREED 10 /**************************************************************************** - * Private Data - ****************************************************************************/ - -/**************************************************************************** - * Private Functions + * Private Types ****************************************************************************/ enum thstate_e @@ -81,6 +77,10 @@ enum thstate_e DONE }; +/**************************************************************************** + * Private Data + ****************************************************************************/ + static sem_t g_sem; static volatile enum thstate_e g_middlestate; static volatile enum thstate_e g_highstate[NHIGHPRI_THREADS]; @@ -90,6 +90,10 @@ static int g_highpri; static int g_medpri; static int g_lowpri; +/**************************************************************************** + * Private Functions + ****************************************************************************/ + /**************************************************************************** * Name: sleep_and_display ****************************************************************************/
