Commit Graph

1649 Commits

Author SHA1 Message Date
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
Christopher Kohlhoff
018788a93a Add new header file. 2011-09-20 23:30:19 +10:00
Christopher Kohlhoff
9fea137d6b Specialise the async_read implementation for buffer sequences based on a
boost::array or std::array of two elements.
2011-09-20 23:28:30 +10:00
Christopher Kohlhoff
54e5dcc4cb Use separate test cases for buffer sequences based on boost::array, std:array and std::vector. 2011-09-20 23:17:15 +10:00
Christopher Kohlhoff
ebfd01ea33 Specialise buffer_sequence_adapter for arrays of 2 elements. 2011-09-18 21:02:20 +10:00
Christopher Kohlhoff
433c7bfb89 Set size of select fd_set at runtime when using Windows. 2011-09-17 15:53:16 +10:00
Christopher Kohlhoff
70a6b177df Fix forcing-to-bool warning. 2011-09-17 11:50:56 +10:00
Christopher Kohlhoff
b6807aa30e Disable warning due to const qualifier being applied to function type. 2011-09-17 11:50:34 +10:00
Christopher Kohlhoff
23e768d693 Make sure the synchronous null_buffers operations obey the user's non_blocking setting. 2011-09-14 21:06:27 +10:00
Christopher Kohlhoff
f6c7cb11c4 Change the SSL buffer sizes so that they're large enough to hold a complete TLS record. 2011-09-14 09:51:15 +10:00
Christopher Kohlhoff
0d581d46f1 Use a plain ol' long for atomic_count when ASIO_DISABLE_THREADS is defined. 2011-09-13 21:57:35 +10:00
Christopher Kohlhoff
b24af8afdc Prefer x86-specific fenced block implementation of the one that uses gcc intrinsics. 2011-09-13 21:52:21 +10:00
Christopher Kohlhoff
ed55d043e2 Only fence block exit when a handler is being run directly out of the io_service. 2011-09-13 19:16:06 +10:00
Christopher Kohlhoff
63d158e188 Don't access the operation queues outside the lock. 2011-09-13 09:22:27 +10:00
Christopher Kohlhoff
3652568dcb Use thread-local operation queues in single-threaded use cases to
eliminate a lock/unlock pair.
2011-09-13 08:26:18 +10:00
Christopher Kohlhoff
61dff2be52 Improve locality of reference by performing the I/O operation
immediately before the corresponding handler is called.
2011-09-12 23:29:37 +10:00
Christopher Kohlhoff
c0d2acd353 Allow some speculative operations to be performed without holding the lock. 2011-09-12 21:12:46 +10:00
Christopher Kohlhoff
19c8767bb0 Don't read the clock unless the heap is non-empty. 2011-09-12 20:48:32 +10:00
Christopher Kohlhoff
feaa79c882 Change assembly code in gcc_x86_fenced_block to fix crash when using the Intel C++ compiler. 2011-09-12 20:23:01 +10:00
Christopher Kohlhoff
4bf858c5ee Explicitly specify the signal() function from the global namespace. 2011-09-12 19:14:15 +10:00
Christopher Kohlhoff
3c50a38a22 Allow some speculative operations to be performed without holding the lock. 2011-09-12 10:32:54 +10:00
Christopher Kohlhoff
d59d4ffbc7 Fix compile error in regex overload of async_read_until. 2011-09-12 10:23:13 +10:00
Christopher Kohlhoff
0b95b0b390 asio version 1.6.0 released 2011-09-12 10:16:57 +10:00
Christopher Kohlhoff
88c5781373 Revision history for asio 1.6.0. 2011-07-14 11:53:52 +10:00
Christopher Kohlhoff
4820fd6f0d Fix mutex initialisation. 2011-06-30 23:35:32 +10:00
Christopher Kohlhoff
a656f7b12c Merge branch 'master' of github.com:chriskohlhoff/asio 2011-06-16 20:03:31 +10:00
Christopher Kohlhoff
45d7a17cb2 Fix bulleted list. 2011-06-16 09:50:28 +10:00
Christopher Kohlhoff
3fb75c5efa Use teletype for marking up the handler tracking output. 2011-06-16 09:50:03 +10:00
Christopher Kohlhoff
3f564fd400 Fix include guard. 2011-06-16 09:41:30 +10:00
Christopher Kohlhoff
357537bbe0 Handle 0-byte reads and writes correctly. 2011-06-16 09:39:38 +10:00
Christopher Kohlhoff
81b520438f Link to C++0x features. 2011-06-14 23:27:45 +10:00
Christopher Kohlhoff
517e1361e1 Don't indent list. 2011-06-14 23:27:30 +10:00
Christopher Kohlhoff
90a93890d6 Include the io_service::service class's private member functions in the documentation. 2011-06-07 09:40:54 +10:00
Christopher Kohlhoff
f66b3ecf09 Durations should be signed. 2011-06-05 23:06:47 +10:00
Christopher Kohlhoff
d9e18d7fdb Add documentation for C++ 2011 (aka C++0x) support. 2011-06-05 22:48:56 +10:00
Christopher Kohlhoff
4d6444997d Fix long lines. 2011-06-05 22:48:29 +10:00
Christopher Kohlhoff
add7852f6d Add support for docs that are specific to non-boost asio. 2011-06-04 11:57:28 +10:00
Christopher Kohlhoff
06c24329ca Make definition of ASIO_MOVE_ARG and ASIO_MOVE_CAST separate to the definition
of ASIO_HAS_MOVE, to allow the latter to be user-defined.
2011-06-03 18:26:25 +10:00
Christopher Kohlhoff
f497fb2e34 Change documentation back to showing handlers as by-value arguments. 2011-06-03 09:48:29 +10:00
Christopher Kohlhoff
4630524566 Regenerate documentation. 2011-06-03 08:25:40 +10:00
Christopher Kohlhoff
c7b5974dea Add missing heading. 2011-06-02 10:04:49 +10:00
Christopher Kohlhoff
d6a3247a0b Document new SSL features. 2011-06-02 10:03:06 +10:00
Christopher Kohlhoff
d08f8d5835 Documentation for handler tracking. 2011-06-01 10:03:22 +10:00