Boost logo

Boost Users :

Subject: Re: [Boost-users] Priority of io_service in a multithreaded application
From: Igor R (boost.lists_at_[hidden])
Date: 2010-07-05 09:30:13

> I have a question about priority of io_service in a multithreaded application.
> I'm using async_read function to read some bytes from serial port in one thread. And application has other threads. Does this io_service inherit the priority of the calling thread? If not how can i set the priority of this io_service?

io_service is just an object, it can't have "priorities". The thread,
which executing io_service::run(), can have some priority.

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