Boost logo

Boost Users :

Subject: [Boost-users] Boost.Thread and thread-priority
From: Andrej van der Zee (andrejvanderzee_at_[hidden])
Date: 2011-10-10 19:29:57


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


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