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?




Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at