Safe API Framework 0.1.0 build 384e6ae
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Loading...
Searching...
No Matches
rte_osadapter_task.h
Go to the documentation of this file.
1
7#ifndef RTE_OSADAPTER_TASK_H
8#define RTE_OSADAPTER_TASK_H
9
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
20typedef struct rte_osadapter_task_s
21{
22 rte_status_t (*create)(rte_task_storage_t *storage,
23 const rte_task_config_t *config,
24 rte_task_handle_t *out_handle);
25 rte_status_t (*start)(rte_task_handle_t handle);
26 rte_status_t (*suspend)(rte_task_handle_t handle);
27 rte_status_t (*destroy)(rte_task_handle_t handle);
29
40
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* RTE_OSADAPTER_TASK_H */
rte_status_t
Common result/status codes.
Definition rte_status.h:27
struct rte_task_impl_s * rte_task_handle_t
Opaque handle to a created task, returned by rte_task_create().
Definition rte_task.h:32
rte_status_t rte_osadapter_task_register(const rte_osadapter_task_t *adapter)
Registers the OSAdapter task implementation.
Definition rte_task.c:25
Common status/error codes returned by every Safe API Framework function. Shared across all OS Abstrac...
OS Abstraction Layer - Task/thread scheduling service.
OSAdapter task scheduling operations vtable.
Configuration for rte_task_create().
Definition rte_task.h:39