Generic message queue read function.
Receives log from message queue. The received message shall not be
larger than parameter LOG_SIZE
. Returns E_MQUEUE
on error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mqueue_type), | intent(inout) | :: | mqueue |
Message queue type. |
||
type(log_type), | intent(out) | :: | log |
Log type. |
||
integer(kind=i8), | intent(in), | optional | :: | timeout |
Timeout in seconds. |
Receives observation from message queue. The received message shall
not be larger than parameter OBSERV_SIZE
. Returns E_MQUEUE
on
error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mqueue_type), | intent(inout) | :: | mqueue |
Message queue type. |
||
type(observ_type), | intent(out) | :: | observ |
Observation type. |
||
integer(kind=i8), | intent(in), | optional | :: | timeout |
Timeout in seconds. |
Receives message from message queue and returns data in buffer
.
The buffer size must equal the message size. Returns E_MQUEUE
on
error.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mqueue_type), | intent(inout) | :: | mqueue |
Message queue type. |
||
character(len=*), | intent(inout) | :: | buffer |
Byte buffer. |
||
integer, | intent(out), | optional | :: | priority |
Message priority. |
|
integer(kind=i8), | intent(in), | optional | :: | timeout |
Timeout in seconds. |