int ret = 0;
char taskname[32];
+ // lock process in to RAM
mlockall(MCL_CURRENT | MCL_FUTURE);
snprintf(taskname, sizeof(taskname), "S1-%d", getpid());
rt_mutex_delete(&condition_mutex);
rt_cond_delete(&timer_set);
rt_sem_delete(&control_task);
+ rt_task_delete(&timerloop_task);
}
/**
void timerloop_task_proc(void *arg)
{
int ret = 0;
- // lock process in to RAM
- mlockall(MCL_CURRENT | MCL_FUTURE);
getElapsedTime();
last_timeout_set = 0;
exitall(NULL,0);
LeaveMutex();
}
-
- rt_task_delete(&timerloop_task);
}
/**