RetroArch
|
#include <asm.h>
#include <stdlib.h>
#include <lwp_messages.h>
#include <lwp_objmgr.h>
#include <lwp_config.h>
#include "message.h"
Classes | |
struct | _mqbox_st |
Macros | |
#define | LWP_OBJTYPE_MBOX 6 |
#define | LWP_CHECK_MBOX(hndl) |
Typedefs | |
typedef struct _mqbox_st | mqbox_st |
Functions | |
void | __lwp_mqbox_init () |
static __inline__ mqbox_st * | __lwp_mqbox_open (mqbox_t mbox) |
static __inline__ void | __lwp_mqbox_free (mqbox_st *mqbox) |
static mqbox_st * | __lwp_mqbox_allocate () |
s32 | MQ_Init (mqbox_t *mqbox, u32 count) |
Initializes a message queue. More... | |
void | MQ_Close (mqbox_t mqbox) |
Closes the message queue and releases all memory. More... | |
BOOL | MQ_Send (mqbox_t mqbox, mqmsg_t msg, u32 flags) |
Sends a message to the given message queue. More... | |
BOOL | MQ_Receive (mqbox_t mqbox, mqmsg_t *msg, u32 flags) |
Sends a message to the given message queue. More... | |
BOOL | MQ_Jam (mqbox_t mqbox, mqmsg_t msg, u32 flags) |
Sends a message to the given message queue and jams it in front of the queue. More... | |
Variables | |
lwp_objinfo | _lwp_mqbox_objects |
#define LWP_CHECK_MBOX | ( | hndl | ) |
#define LWP_OBJTYPE_MBOX 6 |
|
static |
Closes the message queue and releases all memory.
[in] | mqbox | handle to the mqbox_t structure. |
Initializes a message queue.
[out] | mqbox | pointer to the mqbox_t handle. |
[in] | count | maximum number of messages the queue can hold |
Sends a message to the given message queue and jams it in front of the queue.
[in] | mqbox | mqbox_t handle to the message queue |
[in] | msg | message to send |
[in] | flags | message flags (MQ_MSG_BLOCK, MQ_MSG_NOBLOCK) |
Sends a message to the given message queue.
[in] | mqbox | mqbox_t handle to the message queue |
[in] | msg | pointer to a mqmsg_t_t-type message to receive. |
[in] | flags | message flags (MQ_MSG_BLOCK, MQ_MSG_NOBLOCK) |
Sends a message to the given message queue.
[in] | mqbox | mqbox_t handle to the message queue |
[in] | msg | message to send |
[in] | flags | message flags (MQ_MSG_BLOCK, MQ_MSG_NOBLOCK) |
lwp_objinfo _lwp_mqbox_objects |