Developer World
Spresense SDK Library v3.2.0-ebc0364
mpmq.h File Reference
#include <sys/types.h>
#include <asmp/types.h>
#include <asmp/mpsignal.h>

Go to the source code of this file.

Classes

struct  mpmq
 

Macros

#define MPMQ_NONBLOCK   0xfffffffful
 
#define EXTERN   extern "C"
 

Typedefs

typedef struct mpmq mpmq_t
 

Functions

int mpmq_init (mpmq_t *mq, key_t key, cpuid_t cpuid)
 
int mpmq_destroy (mpmq_t *mq)
 
int mpmq_send (mpmq_t *mq, int8_t msgid, uint32_t data)
 
int mpmq_timedsend (mpmq_t *mq, int8_t msgid, uint32_t data, uint32_t ms)
 
int mpmq_trysend (mpmq_t *mq, int8_t msgid, uint32_t data)
 
int mpmq_receive (mpmq_t *mq, uint32_t *data)
 
int mpmq_timedreceive (mpmq_t *mq, uint32_t *data, uint32_t ms)
 
int mpmq_tryreceive (mpmq_t *mq, uint32_t *data)
 
int mpmq_notify (mpmq_t *mq, int signo, void *sigdata)