diff options
Diffstat (limited to 'nuttx/sched/mq_notify.c')
-rw-r--r-- | nuttx/sched/mq_notify.c | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/nuttx/sched/mq_notify.c b/nuttx/sched/mq_notify.c index ce64d5a54..589bee312 100644 --- a/nuttx/sched/mq_notify.c +++ b/nuttx/sched/mq_notify.c @@ -72,22 +72,21 @@ ************************************************************************/ /************************************************************************ - * Function: mq_notify + * Name: mq_notify * * Description: - * If "notification" is not NULL, this function connects - * the task with the message queue such that the specified - * signal will be sent to the task whenever the message - * changes from empty to non-empty. One one notification - * can be attached to a message queue. + * If "notification" is not NULL, this function connects the task with + * the message queue such that the specified signal will be sent to the + * task whenever the message changes from empty to non-empty. Only one + * notification can be attached to a message queue. * - * If "notification" is NULL, the attached notification is - * detached (if it was held by the calling task) and the - * queue is available to attach another notification. + * If "notification" is NULL, the attached notification is detached (if + * it was held by the calling task) and the queue is available to attach + * another notification. * - * When the notification is sent to the registered process, - * its registration will be removed. The message queue - * will then be available for registration. + * When the notification is sent to the registered process, its + * registration will be removed. The message queue will then be + * available for registration. * * Parameters: * mqdes - Message queue descriptor |