On Nov 8, 2005, at 6:22 AM, Ralph Lange wrote:
On my linux box (Debian 3.1), epicsMessageQueueTestHost yields unexpected results:
aragon: .../base/3-14-X > bin/linux-x86/epicsMessageQueueTestHost
Simple single-thread tests.
[...]
Single receiver, single sender tests.
Systems with priority-based scheduler should send only
4 or 5 messages (sender priority > receiver priority).
Sent 5 messages.
Systems with priority-based scheduler should send 10
messages (sender priority < receiver priority).
Sent 5 messages.
All systems should send 10 messages (sender pauses
after sending each message).
Sent 10 messages.
Shouldn't the middle case (sender priority < receiver priority) show 10 messages being sent instead of 5?
You're seeing the fact that your linux box doesn't have a strict priority-based scheduler -- i.e. it's not a "real-time" operating system.