mqueue, btqueue: Fix some typos (e.g., essage -> message)
include/nuttx/mqueue.h: sched/mqueue/mq_msgqfree.c: wireless/bluetooth/bt_queue.c: * Fix typos in comments only. No functional changes.
This commit is contained in:
parent
3144a5a272
commit
f61214cc0d
@ -360,12 +360,12 @@ ssize_t nxmq_timedreceive(mqd_t mqdes, FAR char *msg, size_t msglen,
|
|||||||
* Description:
|
* Description:
|
||||||
* This function deallocates an initialized message queue structure.
|
* This function deallocates an initialized message queue structure.
|
||||||
* First, it deallocates all of the queued messages in the message
|
* First, it deallocates all of the queued messages in the message
|
||||||
* queue. It is assumed that this message is fully unlinked and
|
* queue. It is assumed that this message queue is fully unlinked
|
||||||
* closed so that no thread will attempt access it while it is being
|
* and closed so that no thread will attempt to access it while it
|
||||||
* deleted.
|
* is being deleted.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* msgq - Named essage queue to be freed
|
* msgq - Named message queue to be freed
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* None
|
* None
|
||||||
@ -400,10 +400,10 @@ FAR struct mqueue_inode_s *nxmq_alloc_msgq(mode_t mode,
|
|||||||
* Name: nxmq_pollnotify
|
* Name: nxmq_pollnotify
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* pollnotify, used for notify the poll
|
* pollnotify, used for notifying the poll
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* msgq - Named essage queue
|
* msgq - Named message queue
|
||||||
* eventset - evnet
|
* eventset - evnet
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
|
@ -38,12 +38,12 @@
|
|||||||
* Description:
|
* Description:
|
||||||
* This function deallocates an initialized message queue structure.
|
* This function deallocates an initialized message queue structure.
|
||||||
* First, it deallocates all of the queued messages in the message
|
* First, it deallocates all of the queued messages in the message
|
||||||
* queue. It is assumed that this message is fully unlinked and
|
* queue. It is assumed that this message queue is fully unlinked
|
||||||
* closed so that no thread will attempt access it while it is being
|
* and closed so that no thread will attempt to access it while it
|
||||||
* deleted.
|
* is being deleted.
|
||||||
*
|
*
|
||||||
* Input Parameters:
|
* Input Parameters:
|
||||||
* msgq - Named essage queue to be freed
|
* msgq - Named message queue to be freed
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* None
|
* None
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* Common essage queue attributes */
|
/* Common message queue attributes */
|
||||||
|
|
||||||
#define BT_MSGSIZE sizeof(struct bt_bufmsg_s)
|
#define BT_MSGSIZE sizeof(struct bt_bufmsg_s)
|
||||||
#define BT_MSGFLAGS 0
|
#define BT_MSGFLAGS 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user