Linux preempt-rt

Check our new training course

Real-Time Linux with PREEMPT_RT

Check our new training course
with Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

/*
 * Copyright (c) 2016 Nordic Semiconductor ASA
 * Copyright (c) 2016 Vinayak Kariappa Chettimada
 *
 * SPDX-License-Identifier: Apache-2.0
 */

#ifndef _MEMQ_H_
#define _MEMQ_H_

void *memq_init(void *link, void **head, void **tail);
void *memq_enqueue(void *mem, void *link, void **tail);
void *memq_peek(void *tail, void *head, void **mem);
void *memq_dequeue(void *tail, void **head, void **mem);

#endif