
31 Jul
2010
31 Jul
'10
3:12 a.m.
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