Commit Graph

1691 Commits

Author SHA1 Message Date
Christopher Kohlhoff
0482ea699e Fix date. 2012-05-23 06:47:21 +10:00
Christopher Kohlhoff
fc5fba999e Fix doc formatting. 2012-05-23 06:45:47 +10:00
Christopher Kohlhoff
23b5d3f304 Regenerate documentation. 2012-05-22 18:55:11 +10:00
Christopher Kohlhoff
fc2efe3da5 Fix bug where the second buffer in an array of two buffers may be
ignored if the first buffer is empty.
2012-05-22 18:42:54 +10:00
Christopher Kohlhoff
52ce6325b9 Revert previous change that allowed some operations to be performed without
holding the lock, as it introduced a race condition in certain multithreaded
scenarios.
2012-05-22 18:42:54 +10:00
Christopher Kohlhoff
58e019b341 Revision history. 2012-05-22 18:42:53 +10:00
Christopher Kohlhoff
d779910fd0 Add type requirements for new features. 2012-05-22 18:42:53 +10:00
Christopher Kohlhoff
a7fa7be996 Specifically list classes that don't have convenience headers. 2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
eab22af930 Fix doxygen comments. 2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
ea32f01cab Add extra include to get definition of OVERLAPPED struct. 2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
fb2fc1c193 Disable object_handle support under Windows CE. 2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
816dfb35c1 There is no need to call PostQueuedCompletionStatus to stop the io_service if
the outstanding work count is initially zero. A run/poll call can only be
calling GetQueuedCompletionStatus if it the count was non-zero at some point.
However, if it was previously non-zero, then the io_service will have already
been stop()-ed when the count was decremented to zero.
2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
685a508ab6 On linux, connect can return EAGAIN in certain circumstances. Remap to another
error so that it doesn't look like a non-blocking operation.
2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
7577c05052 Fix deadlock on Mac OS X. 2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
8877272978 Fix regression in buffered_write_stream. 2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
bc59387948 Fix for NetBSD. 2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
5bcc3925d5 Fix MSVC "performance warning". 2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
6cac9c3bab Update copyright notices. 2012-05-22 18:38:16 +10:00
Christopher Kohlhoff
c62360fa16 Add object_handle support. 2012-05-22 18:37:36 +10:00
Christopher Kohlhoff
767d77e288 Chrono support. 2012-05-22 18:37:36 +10:00
Christopher Kohlhoff
a8dff333a9 asio version 1.6.1 released 2012-05-22 08:53:20 +10:00
Christopher Kohlhoff
c997b11191 Add checks for newer boost versions. 2012-05-21 06:37:35 +10:00
Christopher Kohlhoff
0eb526de63 Regenerate documentation. 2012-05-18 17:52:15 +10:00
Christopher Kohlhoff
600e603bfe Revision history. 2012-01-09 23:27:09 +11:00
Christopher Kohlhoff
6c59fdc6a0 Fix potential strand starvation issue that can occur when strand.post() is used. 2011-10-16 09:25:15 +11:00
Christopher Kohlhoff
1e039ea935 Update descriptor state allocation to match approach used in epoll_reactor. 2011-10-15 23:05:17 +11:00
Christopher Kohlhoff
1029b3c519 Construct interrupter first to fix exception safety issue. 2011-10-14 00:12:20 +11:00
Christopher Kohlhoff
390525df78 Programs can define ASIO_ENABLE_SEQUENTIAL_STRAND_ALLOCATION to switch
the allocation of strand implementations to use a round-robin approach
rather than hashing.
2011-10-13 23:48:41 +11:00
Christopher Kohlhoff
0c65d7ffc9 Make number of strand implementations configurable. 2011-10-13 23:37:02 +11:00
Christopher Kohlhoff
dcca5580c0 Clarify that read stops when buffer is full. 2011-10-09 09:37:42 +11:00
Christopher Kohlhoff
0da8a6f7ac Fix long lines. 2011-10-09 09:37:10 +11:00
Christopher Kohlhoff
05104e8ad9 Add latency tests. 2011-10-09 09:22:17 +11:00
Christopher Kohlhoff
82099be632 Initialise all openssl algorithms. 2011-10-08 22:23:30 +11:00
Christopher Kohlhoff
93bf0f4b8b Fix error mapping when session is gracefully shutdown. 2011-10-08 22:13:13 +11:00
Christopher Kohlhoff
fa4b15aab8 Remove unused state. 2011-10-08 21:30:26 +11:00
Christopher Kohlhoff
b23fa4128e Make the private op queue work with nested calls to poll() or poll_one(). 2011-10-04 22:07:40 +11:00
Christopher Kohlhoff
9a66b5bf5e Fix usage of deprecated (and soon to be removed) header. 2011-10-04 08:58:59 +11:00
Christopher Kohlhoff
2f1bdd0248 Optimise creation of and access to the io_service implementation. 2011-10-02 13:00:44 +11:00
Christopher Kohlhoff
5cde1b2404 Always pass a private op_queue, even if it isn't used. 2011-09-29 09:22:16 +10:00
Christopher Kohlhoff
8ee5ba2afd Pass error_code value through to each operation's complete function. 2011-09-29 09:22:16 +10:00
Christopher Kohlhoff
35ba6bebba Tidy up epoll_reactor code. 2011-09-28 08:52:12 +10:00
Christopher Kohlhoff
393691874c Fix for excessive CPU consumption by epoll_reactor when multiple threads run the io_service. 2011-09-28 00:14:23 +10:00
Christopher Kohlhoff
326c45b2a0 Split run and poll code to improve performance. 2011-09-26 22:44:54 +10:00
Christopher Kohlhoff
664cf6a4ec Minor performance tweaks. 2011-09-26 22:44:40 +10:00
Christopher Kohlhoff
aa2ce160ec Add allocator header. 2011-09-26 21:44:32 +10:00
Christopher Kohlhoff
72b20e6bbb Specify concurrency hint. 2011-09-26 21:43:32 +10:00
Christopher Kohlhoff
82925d76c0 Add custom memory allocation to udp latency server. 2011-09-26 19:31:13 +10:00
Christopher Kohlhoff
aa8680aed9 Specialise the async_write_at implementation for buffer sequences based on a
boost::array or std::array of two elements.
2011-09-21 23:07:19 +10:00
Christopher Kohlhoff
629c73934b Specialise the async_read_at implementation for buffer sequences based on a
boost::array or std::array of two elements.
2011-09-21 19:15:49 +10:00
Christopher Kohlhoff
ace36f3703 Specialise the async_write implementation for buffer sequences based on a
boost::array or std::array of two elements.
2011-09-21 10:00:07 +10:00