testing/ostest: add missing section comments

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
Petro Karashchenko 2023-04-11 16:05:31 +03:00 committed by Xiang Xiao
parent ee71af840f
commit e30a0602a0

View File

@ -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
****************************************************************************/