10 Oct
2011
10 Oct
'11
11:29 p.m.
Hi, I have a question about thread priority in combination with Boost.Thread. I implemented a pool of threads that reads data-pkts from a work-queue in user-space. The main-thread receives data-packets from the kernel, copies them into user-space and places them in this data-queue. It is important that the kernel buffers do not overflow and therefor I thought raising the priority of the main-thread is a good idea. My question is would this *really* help? And how do I change priority with Boost.Thread? Cheers, Andrej