DMTCP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Functions
posixipcwrappers.cpp File Reference
#include <mqueue.h>
#include <time.h>
#include <stdarg.h>
#include "util.h"
#include "dmtcp.h"
#include "fileconnection.h"
#include "filewrappers.h"
#include "fileconnlist.h"

Go to the source code of this file.

Classes

struct  mqNotifyData
 

Functions

mqd_t mq_open (const char *name, int oflag,...)
 
int mq_close (mqd_t mqdes)
 
int mq_notify (mqd_t mqdes, const struct sigevent *sevp)
 
int mq_send (mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio)
 
ssize_t mq_receive (mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio)
 
int mq_timedsend (mqd_t mqdes, const char *msg_ptr, size_t msg_len, unsigned msg_prio, const struct timespec *abs_timeout)
 
ssize_t mq_timedreceive (mqd_t mqdes, char *msg_ptr, size_t msg_len, unsigned *msg_prio, const struct timespec *abs_timeout)
 

Function Documentation

int mq_close ( mqd_t  mqdes)

Definition at line 60 of file posixipcwrappers.cpp.

int mq_notify ( mqd_t  mqdes,
const struct sigevent *  sevp 
)

Definition at line 102 of file posixipcwrappers.cpp.

mqd_t mq_open ( const char *  name,
int  oflag,
  ... 
)

Definition at line 34 of file posixipcwrappers.cpp.

ssize_t mq_receive ( mqd_t  mqdes,
char *  msg_ptr,
size_t  msg_len,
unsigned *  msg_prio 
)

Definition at line 145 of file posixipcwrappers.cpp.

int mq_send ( mqd_t  mqdes,
const char *  msg_ptr,
size_t  msg_len,
unsigned  msg_prio 
)

Definition at line 132 of file posixipcwrappers.cpp.

ssize_t mq_timedreceive ( mqd_t  mqdes,
char *  msg_ptr,
size_t  msg_len,
unsigned *  msg_prio,
const struct timespec *  abs_timeout 
)

Definition at line 184 of file posixipcwrappers.cpp.

int mq_timedsend ( mqd_t  mqdes,
const char *  msg_ptr,
size_t  msg_len,
unsigned  msg_prio,
const struct timespec *  abs_timeout 
)

Definition at line 160 of file posixipcwrappers.cpp.