|
| | PosixMessageQueue (const String &name, size_t maxMessages, size_t messageSize, int64_t uid, int64_t gid, unsigned mode) |
| |
| int | send (const char *data, size_t length, unsigned priority, bool nonblock, const LinuxMqTimespec *timeout) |
| |
| int | receive (char *data, size_t length, unsigned *priority, bool nonblock, const LinuxMqTimespec *timeout) |
| |
| int | attributes (FileDescriptor &descriptor, const LinuxMqAttr *requested, LinuxMqAttr *previous) |
| |
| int | notify (const LinuxMqSigevent *event) |
| |
| void | cancelNotification (size_t pid) |
| |
| void | clockChanged () |
| |
| bool | mayOpen (Process *process, int flags) const |
| |
| bool | mayUnlink (Process *process) const |
| |
| const String & | name () const |
| |
| ReadyMask | queryReady () |
| |
| ReadinessGenerations | readinessGenerations () override |
| |
| MUST_USE_RESULT bool | subscribeReadiness (ReadyMask interest, const SharedPointer< ReadinessObserver > &observer, ReadinessSubscription &subscription) |
| |
Definition at line 28 of file mqueue-syscalls.h.
◆ PosixMessageQueue()
| PosixMessageQueue::PosixMessageQueue |
( |
const String & |
name, |
|
|
size_t |
maxMessages, |
|
|
size_t |
messageSize, |
|
|
int64_t |
uid, |
|
|
int64_t |
gid, |
|
|
unsigned |
mode |
|
) |
| |
◆ ~PosixMessageQueue()
| PosixMessageQueue::~PosixMessageQueue |
( |
| ) |
|
|
override |
◆ attributes()
◆ cancelNotification()
| void PosixMessageQueue::cancelNotification |
( |
size_t |
pid | ) |
|
◆ clockChanged()
| void PosixMessageQueue::clockChanged |
( |
| ) |
|
◆ mayOpen()
| bool PosixMessageQueue::mayOpen |
( |
Process * |
process, |
|
|
int |
flags |
|
) |
| const |
◆ mayUnlink()
| bool PosixMessageQueue::mayUnlink |
( |
Process * |
process | ) |
const |
◆ name()
| const String & PosixMessageQueue::name |
( |
| ) |
const |
◆ notify()
◆ queryReady()
| ReadyMask PosixMessageQueue::queryReady |
( |
| ) |
|
◆ readinessGenerations()
Return source-serialized rising-edge sequences where available.
A source increments the corresponding sequence while holding the same lock which changes its readiness predicate. Consumers can then recover a drain/refill transition even if the two callback deliveries are reordered.
Reimplemented from ReadinessSource.
Definition at line 271 of file mqueue-state.cc.
◆ receive()
| int PosixMessageQueue::receive |
( |
char * |
data, |
|
|
size_t |
length, |
|
|
unsigned * |
priority, |
|
|
bool |
nonblock, |
|
|
const LinuxMqTimespec * |
timeout |
|
) |
| |
◆ send()
| int PosixMessageQueue::send |
( |
const char * |
data, |
|
|
size_t |
length, |
|
|
unsigned |
priority, |
|
|
bool |
nonblock, |
|
|
const LinuxMqTimespec * |
timeout |
|
) |
| |
◆ m_State
The documentation for this class was generated from the following files: