Boost logo

Boost Users :

Subject: [Boost-users] How often is boost::interprocess::message_queue::receive signaled?
From: Andre Kirchner (supercroc1974_at_[hidden])
Date: 2010-07-30 23:12:09


Hi all,

How often is method boost::interprocess::message_queue::receive signaled
assuming there is data in the queue? Is it just at the end/beginning of a
time-slice? I have been debugging a piece of code that is showing that receive
is signaled at intervals of 15, 30 or 45 ms, and 15 ms is the duration of the
time-slice of the of Windows OS when running on a multicore machine.

Is there a way to increase the priority of the thread that is blocked at a
receive method in a way that it would be executed right after it's signaled? Or
if not possible, what other mechanism could be used?

Thanks,

Andre

      


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net