2
0
mirror of https://github.com/boostorg/asio.git synced 2026-01-19 16:12:09 +00:00
Commit Graph

641 Commits

Author SHA1 Message Date
Christopher Hite
21e256d10e optional_optimization branch
[SVN r77091]
2012-02-22 10:37:27 +00:00
Christopher Kohlhoff
b4e3ff2d9e Fixed a bug where the second buffer in an array of two buffers may be ignored
if the first buffer is empty.


[SVN r77033]
2012-02-15 22:16:53 +00:00
Christopher Kohlhoff
40608f9e0d Reverted earlier change to allow some speculative operations to be performed
without holding the lock, as it introduced a race condition in some
multithreaded scenarios.


[SVN r76990]
2012-02-12 12:53:06 +00:00
Christopher Kohlhoff
4e9e7b595b Update copyright year.
[SVN r76513]
2012-01-15 13:18:46 +00:00
Christopher Kohlhoff
5777189dc8 Add missing class.
[SVN r76512]
2012-01-15 12:52:58 +00:00
Christopher Kohlhoff
c8098f25eb Update documentation.
[SVN r76511]
2012-01-15 12:51:20 +00:00
Christopher Kohlhoff
657c782117 Fix doxygen comments.
[SVN r76507]
2012-01-15 11:29:25 +00:00
Christopher Kohlhoff
be171b6abb Add extra include required for OVERLAPPED struct.
[SVN r76449]
2012-01-13 12:58:52 +00:00
Christopher Kohlhoff
c1a8562cf9 Disable object_handle on Windows CE.
[SVN r76448]
2012-01-13 12:57:59 +00:00
Christopher Kohlhoff
0725446de9 Fix non-paged pool "leak" on Windows when io_service is repeatedly run without anything to do. Refs #6321.
[SVN r76432]
2012-01-12 13:38:17 +00:00
Christopher Kohlhoff
c2d491a4e0 On linux, connect can return EAGAIN in certain circumstances. Remap to another
error so that it doesn't look like a non-blocking operation. Refs #6048.


[SVN r76430]
2012-01-12 12:27:02 +00:00
Christopher Kohlhoff
28fe058750 Fix deadlock on Mac OS X. Refs #6275.
[SVN r76427]
2012-01-12 10:08:15 +00:00
Christopher Kohlhoff
19da914b2c Fix regression in buffered_write_stream. Refs #6310.
[SVN r76426]
2012-01-12 07:42:47 +00:00
Christopher Kohlhoff
a132c47ca6 Fix for NetBSD. Refs #6098.
[SVN r76425]
2012-01-12 07:37:57 +00:00
Christopher Kohlhoff
d649b2acb8 Fix MSVC "performance warning".
[SVN r76424]
2012-01-12 07:30:05 +00:00
Christopher Kohlhoff
30f3e430a7 Update copyright notices.
[SVN r76420]
2012-01-11 23:04:08 +00:00
Christopher Kohlhoff
70cd19f75b Need to enable the basic_handle class when object_handle is supported.
[SVN r76408]
2012-01-11 07:10:06 +00:00
Christopher Kohlhoff
81f394e29d Added object_handle support.
[SVN r76397]
2012-01-10 09:58:05 +00:00
Christopher Kohlhoff
40316dfdb4 Chrono support.
[SVN r76380]
2012-01-09 13:43:38 +00:00
Christopher Kohlhoff
895717964e Revert previous incorrect commit.
[SVN r76379]
2012-01-09 12:55:45 +00:00
Christopher Kohlhoff
96fd7e1906 Exclude detail class from documentation.
[SVN r76378]
2012-01-09 12:53:32 +00:00
Christopher Kohlhoff
3aad45b5f1 Fix typo in revision history.
[SVN r75474]
2011-11-13 11:56:12 +00:00
Christopher Kohlhoff
5d8be62a80 Fix and regeneration documentation.
[SVN r75010]
2011-10-17 12:10:18 +00:00
Christopher Kohlhoff
74b0262b6c Revision history.
[SVN r75005]
2011-10-17 11:05:53 +00:00
Christopher Kohlhoff
4badacaace Make number of strand implementations configurable by defining
BOOST_ASIO_STRAND_IMPLEMENTATIONS to the number.

Programs can now define BOOST_ASIO_ENABLE_SEQUENTIAL_STRAND_ALLOCATION to
switch the allocation of strand implementations to use a round-robin approach
rather than hashing.

Fix potential strand starvation issue that can occur when strand.post() is used.


[SVN r74955]
2011-10-15 23:59:12 +00:00
Christopher Kohlhoff
7e20d34537 Update descriptor state allocation to match approach used in epoll_reactor.
[SVN r74954]
2011-10-15 23:56:21 +00:00
Christopher Kohlhoff
fb588f5c1e Construct interrupter member first to fix exception safety issue. Refs #6006
[SVN r74953]
2011-10-15 23:55:24 +00:00
Christopher Kohlhoff
cc4f30f3b5 Clarify that the read operation ends when the buffer is full. Refs #5999
[SVN r74952]
2011-10-15 23:46:49 +00:00
Christopher Kohlhoff
49d9532ab0 Add latency test programs.
[SVN r74827]
2011-10-08 22:12:30 +00:00
Christopher Kohlhoff
c974f1088d Various performance improvements:
* Split the task_io_service's run and poll code.

* Use thread-local operation queues in single-threaded use cases (i.e. concurrency_hint is 1) to eliminate a lock/unlock pair.

* Only fence block exit when a handler is being run directly out of the io_service.

* Prefer x86 mfence-based fenced block when available.

* Use a plain ol' long for the atomic_count when all thread support is disabled.

* Allow some epoll_reactor speculative operations to be performed without holding the lock.

* Improve locality of reference by performing an epoll_reactor's I/O operation immediately before the corresponding handler is called. This also improves scalability across CPUs when multiple threads are running the io_service.

* Pass same error_code variable through to each operation's complete() function.

* Optimise creation of and access to the io_service implementation.


[SVN r74826]
2011-10-08 21:58:10 +00:00
Christopher Kohlhoff
1882513c3e Fix error mapping when session is gracefully shut down.
[SVN r74825]
2011-10-08 21:38:43 +00:00
Christopher Kohlhoff
198913776d Initialise all OpenSSL algorithms.
[SVN r74824]
2011-10-08 21:38:08 +00:00
Christopher Kohlhoff
dd7f43285a Specialise operations for buffer sequences that are arrays of exactly two buffers.
[SVN r74823]
2011-10-08 21:36:36 +00:00
Christopher Kohlhoff
e66e5d5fb3 Fix crash due to gcc_x86_fenced_block that shows up when using the Intel C++ compiler. Refs #5763
[SVN r74822]
2011-10-08 21:31:26 +00:00
Christopher Kohlhoff
04b8773fd5 Disable warning due to const qualifier being applied to function type.
[SVN r74821]
2011-10-08 21:28:00 +00:00
Christopher Kohlhoff
8d24d33883 Set size of select fd_set at runtime when using Windows.
[SVN r74820]
2011-10-08 21:25:20 +00:00
Christopher Kohlhoff
52b61e7e77 Remove unused state.
[SVN r74819]
2011-10-08 21:21:54 +00:00
Christopher Kohlhoff
21bbcdeae1 Make sure the synchronous null_buffers operations obey the user's non_blocking setting. Refs #5756
[SVN r74818]
2011-10-08 21:15:42 +00:00
Christopher Kohlhoff
35b91b411c Change the SSL buffers sizes so that they're large enough to hold a complete TLS record. Refs #5854
[SVN r74817]
2011-10-08 21:10:56 +00:00
Christopher Kohlhoff
292f6f53c9 Don't read the clock unless the heap is non-empty.
[SVN r74816]
2011-10-08 21:08:39 +00:00
Christopher Kohlhoff
701f7d68ab Explicitly specify the signal() function from the global namespace. Refs #5722
[SVN r74815]
2011-10-08 21:06:38 +00:00
Christopher Kohlhoff
b28a5bfcda Fix compile error in regex overload of async_read_until.hpp. Refs #5688
[SVN r74814]
2011-10-08 21:03:22 +00:00
Christopher Kohlhoff
df4b6cd4d6 Fix for static mutex initialisation.
[SVN r72818]
2011-06-30 13:38:30 +00:00
Christopher Kohlhoff
374c7b62a8 Zero-length reads and writes need to complete immediately.
[SVN r72807]
2011-06-29 23:35:17 +00:00
Christopher Kohlhoff
82cc1578b1 Fix include guard.
[SVN r72806]
2011-06-29 23:32:51 +00:00
Christopher Kohlhoff
353e71c965 Fix bullet list.
[SVN r72805]
2011-06-29 23:31:37 +00:00
Christopher Kohlhoff
70243efb24 Revision history.
[SVN r72432]
2011-06-06 11:56:18 +00:00
Christopher Kohlhoff
2a4c82ab84 Add TOC entry for fork.
[SVN r72426]
2011-06-05 21:40:24 +00:00
Christopher Kohlhoff
a166d19a13 Update overview TOC.
[SVN r72408]
2011-06-05 14:35:14 +00:00
Christopher Kohlhoff
2a89061940 Use correct source mode.
[SVN r72407]
2011-06-05 14:34:45 +00:00