param: Move to POSIX semaphore abstraction

This commit is contained in:
Lorenz Meier 2015-09-20 00:29:22 +02:00
parent a2ea70c7a0
commit b3a8ba4e92
1 changed files with 2 additions and 2 deletions

View File

@ -147,14 +147,14 @@ static param_t param_find_internal(const char *name, bool notification);
static void
param_lock(void)
{
//do {} while (sem_wait(&param_sem) != 0);
//do {} while (px4_sem_wait(&param_sem) != 0);
}
/** unlock the parameter store */
static void
param_unlock(void)
{
//sem_post(&param_sem);
//px4_sem_post(&param_sem);
}
/** assert that the parameter store is locked */