ec_message_should_reduce_resources — Determines whether or not a message should be removed from memory
int **ec_message_should_reduce_resources** ( | message
); | |
Determines whether a message should be removed from memory, based on the value of max_resident_messages.
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.