nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
work_q.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef WORK_Q_H__
8#define WORK_Q_H__
9
10#include <zephyr/kernel.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16/* Starts the work queue. */
17void work_q_start(void);
18
19/* Returns a pointer to the work queue. */
20struct k_work_q *work_q_get(void);
21
22#ifdef __cplusplus
23}
24#endif
25
26#endif /* WORK_Q_H__ */
void work_q_start(void)
struct k_work_q * work_q_get(void)