1 #ifndef __LWP_QUEUE_H__
2 #define __LWP_QUEUE_H__
9 extern int printk(const char *fmt
,...);
16 typedef struct _lwpnode
{
17 struct _lwpnode
*next
;
18 struct _lwpnode
*prev
;
21 typedef struct _lwpqueue
{
27 void __lwp_queue_initialize(lwp_queue
*,void *,u32
,u32
);
28 lwp_node
* __lwp_queue_get(lwp_queue
*);
29 void __lwp_queue_append(lwp_queue
*,lwp_node
*);
30 void __lwp_queue_extract(lwp_node
*);
31 void __lwp_queue_insert(lwp_node
*,lwp_node
*);
33 #ifdef LIBOGC_INTERNAL
34 #include <libogc/lwp_queue.inl>