SysV message queues

E701317

SysV message queues are a classic UNIX System V inter-process communication mechanism that allows processes to exchange discrete messages via kernel-managed queues.

Jump to: Statements Referenced by

Statements (49)

Predicate Object
instanceOf System V IPC facility
UNIX kernel feature
inter-process communication mechanism
canBeInspectedWith ipcs
canBeManagedWith ipcrm
communicationPattern many-to-many
communicationStyle asynchronous
comparedWith FIFOs
POSIX message queues
pipes
shared memory
sockets
configuredBy /proc/sys/kernel/msgmax
/proc/sys/kernel/msgmnb
/proc/sys/kernel/msgmni
controlledWith msgctl
createdWith msgget
dataModel discrete messages
hasDrawback limited maximum message and queue sizes
limited portability compared to POSIX message queues
hasProperty messages are copied between user space and kernel space
messages are not byte streams
ordering can depend on message type and priority
identifiedBy integer queue identifier
key_t key
introducedIn UNIX System V NERFINISHED
lifecycle persists until explicitly removed or system reboot
managedBy kernel
operatingSystemFamily BSD variants
Linux NERFINISHED
UNIX NERFINISHED
permissionModel UNIX-like user and group IDs
read and write permission bits
removalMethod msgctl IPC_RMID
resourceLimitedBy per-queue size limits
system-wide IPC limits
standardizedIn X/Open System Interfaces NERFINISHED
supports access control via permissions
blocking receive
message prioritization
message type identifiers
non-blocking receive
usedFor batch or queue-style processing
local inter-process communication
server-client communication on same host
usedWith msgrcv
msgsnd
usesHeaderStructure msgbuf
usesHeaderStructure msqid_ds

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

UNIX System V influenced SysV message queues