Update of /cvsroot/boost/boost/boost/asio
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29300
Modified Files:
io_service.hpp
Log Message:
Add ability to specify the level of concurrency desired, which is currently
used by Win32's I/O completion ports.
Index: io_service.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/asio/io_service.hpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- io_service.hpp 14 Nov 2006 10:41:33 -0000 1.3
+++ io_service.hpp 16 Nov 2006 11:50:56 -0000 1.4
@@ -88,6 +88,13 @@
/// Default constructor.
io_service();
+ /// Construct with a hint about the required level of concurrency.
+ /**
+ * @param concurrency_hint A suggestion to the implementation on how many
+ * threads it should allow to run simultaneously.
+ */
+ explicit io_service(size_t concurrency_hint);
+
/// Run the io_service's event processing loop.
/**
* The run() function blocks until all work has finished and there are no
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs