SYNOPSIS
#include <mqueue.h>
int mq_notify(mqd_t mqdes, const struct sigevent *notification);
DESCRIPTION
The
If notification is not NULL,
If notification is NULL and the calling process is
currently registered for notification by the specified message queue,
Once a registered process has been sent notification, its registration is removed, making the message queue once again available for registration.
If a registered process is awaiting notification of message arrival at
the specified message queue and some thread is blocked in
PARAMETERS
- mqdes
-
Is a message queue descriptor.
- notification
-
Points to a sigevent structure which identifies the notification to be sent.
RETURN VALUES
On success,
- EBADF
-
mqdes is not a valid message queue descriptor.
- EBUSY
-
The specified message queue already has a process registered for notification.
CONFORMANCE
UNIX 03.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
The NuTCRACKER Platform does not currently implement the setting of SIGEV_THREAD in the sigevent structure.
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.5 Documentation Build 40.