Exemple #1
0
static void 
sem_test_4_task4_handler(void *arg) 
{
    sem_test_pend_release_loop(0, 2000, 2000);
}
Exemple #2
0
static void 
sem_test_2_task3_handler(void *arg) 
{
    sem_test_pend_release_loop(0, OS_TIMEOUT_NEVER, 2000);
}
Exemple #3
0
static void 
sem_test_3_task3_handler(void *arg) 
{
    sem_test_pend_release_loop(150, 2000, 2000);
}
Exemple #4
0
static void 
sem_test_1_task2_handler(void *arg) 
{
    sem_test_pend_release_loop(0, 100, 100);
}
void 
sem_test_4_task3_handler(void *arg) 
{
    sem_test_pend_release_loop(60, 2000, 2000);
}
void 
sem_test_3_task2_handler(void *arg) 
{
    sem_test_pend_release_loop(100, 2000, 2000);
}
void 
sem_test_1_task3_handler(void *arg) 
{
    sem_test_pend_release_loop(0, OS_TIMEOUT_NEVER, OS_TICKS_PER_SEC * 2);
}
void 
sem_test_1_task2_handler(void *arg) 
{
    sem_test_pend_release_loop(0, OS_TICKS_PER_SEC / 10,
                               OS_TICKS_PER_SEC / 10);
}