Boost logo

Boost :

From: ÷ÌÁÄÉÓÌÁ× þÅÒÎÙÛÏ× (carter.subscribe_at_[hidden])
Date: 2007-05-23 11:18:53


Hi!

If I do something like this can I be sure that async requests will run
concurrently?
boost::asio::io_service io_service;
client c(io_service, argv[1], argv[2]);
client c1(io_service, argv[1], argv[2]);
boost::thread tr1(boost::bind(&boost::asio::io_service::run, &io_service));
io_service.run();
tr1.join();

The client class is a class from boost.asio example.

Vlad


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk