GRTOS Message queue functions.
More...
Go to the source code of this file.
GRTOS Message queue functions.
- Author
- Ricardo Cayssials
This file contains the Message queue functions.
- Version
- 0.9a
- Date
- 2015-2020
- Bug:
- None known
- Copyright
- Ricardo Cayssials (rcays.nosp@m.sial.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)
-
All rights reserved.
-
Copyright (c) 2013-2020
- Warning
- This product was produced by Ricardo Cayssials in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
DISCLAIMER OF WARRANTY. THIS PRODUCT IS LICENSED "AS IS." YOU BEAR THE RISK OF USING IT.
-
RICARDO CAYSSIALS GIVES NO EXPRESS WARRANTIES, GUARANTEES, OR CONDITIONS. TO THE EXTENT PERMITTED UNDER APPLICABLE LAWS, RICARDO CAYSSIALS EXCLUDES ALL IMPLIED WARRANTIES, INCLUDING MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
Definition in file mq.c.
◆ gk_QUEUE_granted_kill()
Definition at line 396 of file mq.c.
◆ gu_MQ_consumer_mark_read()
Mark the current buffer as read.
gu_MQ_consumer_mark_read
- Parameters
-
[in] | pevent | Pointer to the ECB associated as consumer to the Message Queue |
- Returns
- G_TRUE when successful, G_FALSE otherwise
This function has to be executed to enable the reading of the next message
Definition at line 331 of file mq.c.
◆ gu_queue_create()
G_RCB* gu_queue_create |
( |
void * |
pbuffer, |
|
|
INT32 |
buffer_length |
|
) |
| |
Create a Resource for Queue with default settings.
- Parameters
-
[in] | pbuffer | Pointer to the buffer where data sent to the queue will be transfered. |
[in] | buffer_length | Length of the buffer of the queue |
- Returns
- Return a pointer to the resource of the Queue, or 0 if there is not more resources availables
A memory buffer should be summited in order to store the data sent to the queue.
Definition at line 185 of file mq.c.