Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] Synchronous/Asynchronous pattern
From: Igor R (boost.lists_at_[hidden])
Date: 2009-03-10 08:13:47


> Why is run_one better than poll_one in this case?

run_one() blocks until one async. operation completes. poll_one() just
runs one ready handler, and if nothing is ready yet, it does nothing
without blocking.


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