ec_message_should_reduce_resources
Last updated March 2020
Name
ec_message_should_reduce_resources — Determines whether or not a message should be removed from memory
Synopsis
#include "ec_message.h"
| int **ec_message_should_reduce_resources** (
| message)
; | |
Description
Determines whether a message should be removed from memory, based on the value of max_resident_messages.
- message
-
A pointer to an ec_message struct. For documentation of this data structure see “ec_message”
This function returns a boolean value (0 or 1) indicating whether a message should be forced out of memory depending on whether the max_resident_messages count has been exceeded for the binding (or global value of max_resident_messages).
It is legal to call this function in any thread.
See Also
Was this page helpful?