I was wondering if there is a mechanism to determine if the message queue used for sending and receiving thread messages is full, or how much space is remaining in the queue? We've been adjusting the MESSAGE_QUEUE_SIZE, but would like a way to know if we're getting close to full, and handle it in the application.
Page 1 / 1
I was wondering if there is a mechanism to determine if the message queue used for sending and receiving thread messages is full, or how much space is remaining in the queue? We've been adjusting the MESSAGE_QUEUE_SIZE, but would like a way to know if we're getting close to full, and handle it in the application.
No, there is no mechanism or library routine for this. You can tell it's empty by trying to read from it.
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.