/** * \file * \brief Queue */ /* * (c) 2008-2009 Adam Lackorzynski , * Alexander Warg , * Frank Mehnert * economic rights: Technische Universität Dresden (Germany) * This file is part of TUD:OS and distributed under the terms of the * GNU Lesser General Public License 2.1. * Please see the COPYING-LGPL-2.1 file for details. */ #ifndef __L4UTIL_QUEUE_H__ #define __L4UTIL_QUEUE_H__ #include #include EXTERN_C_BEGIN struct l4util_buffer_head { l4_threadid_t src; l4_uint32_t len; char *buffer; }; L4_CV int l4util_queue_dequeue(struct l4util_buffer_head **buffer); L4_CV int l4util_queue_init(int queue_threadno, void *(*malloc_func)(l4_uint32_t size), l4_uint32_t max_rcv); EXTERN_C_END #endif /* !__L4UTIL_QUEUE_H__ */