RTE OSAdapter POSIX 0.1.0 build 41b3eb3
POSIX/Linux OAL OSAdapter for Platform_RTE
Loading...
Searching...
No Matches
rte_posix_osadapter_lock.h
Go to the documentation of this file.
1
10#ifndef RTE_POSIX_OSADAPTER_LOCK_H
11#define RTE_POSIX_OSADAPTER_LOCK_H
12
13#include <pthread.h>
14
15#include "rte/utils/status/rte_status.h"
16#include "rte/utils/types/rte_types.h"
17
38rte_status_t posix_osa_lock_bounded(pthread_mutex_t *mutex, rte_duration_ms_t timeout_ms);
39
40#endif /* RTE_POSIX_OSADAPTER_LOCK_H */
rte_status_t posix_osa_lock_bounded(pthread_mutex_t *mutex, rte_duration_ms_t timeout_ms)
Waits at most timeout_ms for a pthread mutex.