
5 Jul
2010
5 Jul
'10
1:30 p.m.
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.