Commit Graph

1417 Commits

Author SHA1 Message Date
chris_kohlhoff
979e4764f0 Regenerate documentation. 2008-06-18 13:02:19 +00:00
chris_kohlhoff
0d5447dfbc Add new overloads for read_until and async_read_until that invoke a
user-defined function object to determine when a match has been found.
2008-06-18 12:30:00 +00:00
chris_kohlhoff
8d12789c47 Add missing documentation of offset parameters. 2008-06-18 11:09:26 +00:00
chris_kohlhoff
4724f99024 Fix write_at function declaration. 2008-06-18 10:58:02 +00:00
chris_kohlhoff
ad85767a28 Ignore executables for newly added tests. 2008-06-14 22:48:12 +00:00
chris_kohlhoff
d1a597321b Add an iterator for bytewise traversal of a buffer sequence. 2008-06-14 22:47:40 +00:00
chris_kohlhoff
0d5a4cce3a Only perform check for a 0-byte receive meaning EOF on SOCK_STREAM sockets. 2008-06-11 12:51:20 +00:00
chris_kohlhoff
1edfaee394 Remove repeated typedef of reactor_type. 2008-06-11 11:26:08 +00:00
chris_kohlhoff
a5f59cafb8 Fix macro test. 2008-06-11 11:06:47 +00:00
chris_kohlhoff
d2341446c2 Allow error code and macro on same line. 2008-06-11 08:26:34 +00:00
chris_kohlhoff
59512bccaf Add tests for random-access handles. 2008-06-11 08:22:08 +00:00
chris_kohlhoff
f743a4c3b2 Add random-access handles on windows for use with regular files. 2008-06-10 23:27:04 +00:00
chris_kohlhoff
dd79f69ceb Need to take ownership of the serial port descriptor once it has been
successfully initialised.
2008-06-09 12:05:59 +00:00
chris_kohlhoff
95b4b58dca Add a const char* overload of the basic_serial_port constructor to prevent
the "assign" constructor overload being incorrectly used on Windows (where
the native type is a void pointer).
2008-06-09 11:32:28 +00:00
chris_kohlhoff
48ef7705b2 Add serial port support for POSIX platforms. 2008-06-08 12:46:00 +00:00
chris_kohlhoff
643719e6cf Initial commit of serial port classes and Windows backend. 2008-06-08 06:56:18 +00:00
chris_kohlhoff
2412984d92 Fix a deadlock that can occur when destroying a thread object with global
lifetime in a dynamically loaded DLL on Windows. Note that deadlock can
still occur if the thread is launched by the constructor an object with
global lifetime.
2008-05-30 08:21:46 +00:00
chris_kohlhoff
a6ba602067 Fix unused variable warnings. 2008-05-27 07:20:42 +00:00
chris_kohlhoff
fb4f83d903 Fix a crash that can occur when destroying a handler object that owns its
own memory (as is the case when destroying handlers in an orphaned strand).
2008-05-27 00:23:16 +00:00
chris_kohlhoff
596e733ed4 Some Windows platforms don't define IPPROTO_ICMPV6. 2008-05-21 09:37:51 +00:00
chris_kohlhoff
0303f72667 Add custom allocation support to timer operations. 2008-05-21 00:00:42 +00:00
chris_kohlhoff
396032f48f Add missing files. 2008-05-20 23:55:42 +00:00
chris_kohlhoff
df9541e0d1 Set the "no delay" socket option. 2008-05-19 23:41:14 +00:00
chris_kohlhoff
7d27454f6b Add check for empty heap when determining the minimum wait duration for a
timer queue.
2008-05-14 10:20:54 +00:00
chris_kohlhoff
fc36afcf83 Use a custom allocator in the performance tests. 2008-05-05 23:45:12 +00:00
chris_kohlhoff
cc091595bc Use an atomic counter for strand reference counting. 2008-05-05 23:39:57 +00:00
chris_kohlhoff
a2070d010e Implement custom memory allocation support for reactor-based asynchronous operations. 2008-05-04 22:35:45 +00:00
chris_kohlhoff
d440ab0c21 Add link to null_buffers. 2008-05-04 22:33:18 +00:00
chris_kohlhoff
1c53c649cc Add fast-pathing of speculative reads and writes to the kqueue_reactor. 2008-05-03 10:15:49 +00:00
chris_kohlhoff
4617563e45 Don't use the names readv and writev for functions defined inside asio as
these names seem to be macros on Tru64.
2008-05-02 08:30:30 +00:00
chris_kohlhoff
09f249d8c4 Fully qualify uses of asio's placeholders to resolve ambiguity with C++0x's
placeholders namespace.
2008-05-02 07:51:35 +00:00
chris_kohlhoff
fa1fbea352 A memory barrier is needed on some platforms to ensure that all updates
to the node occur before the tail pointer is updated.
2008-05-01 22:14:22 +00:00
chris_kohlhoff
0534d828f1 Add a fast path for some speculative read and write operations in the
epoll_reactor.
2008-05-01 00:10:14 +00:00
chris_kohlhoff
64eb69c4d5 Add an experimental two-lock queue implementation for the task_io_service. 2008-04-28 13:45:35 +00:00
chris_kohlhoff
ec7369cf5c Add new icmp.hpp header. 2008-04-28 13:27:40 +00:00
chris_kohlhoff
bc4b34926b Add raw sockets support. 2008-04-28 13:00:14 +00:00
chris_kohlhoff
a0936c0bae asio version 1.1.0 released. 2008-04-23 12:38:16 +00:00
chris_kohlhoff
cf3bb74447 Ignore correct exe name. 2008-04-23 09:17:00 +00:00
chris_kohlhoff
fb02d1b47f Ignore descriptor_base test executable. 2008-04-22 11:57:42 +00:00
chris_kohlhoff
30724dc7a2 Fix or suppress MSVC level /W4 warnings. 2008-04-22 11:31:56 +00:00
chris_kohlhoff
03df12147a Remove unused parameter names. 2008-04-21 13:35:40 +00:00
chris_kohlhoff
1fcfc4cfa0 Update boostify.pl to include new directories. 2008-04-21 11:02:18 +00:00
chris_kohlhoff
f1bb5b7419 Remove dead links from quickref.xml. 2008-04-21 06:36:02 +00:00
chris_kohlhoff
fc0f2294b9 Remove a local variable that was hiding the ec parameter and preventing
error codes from being correctly propagated.
2008-04-21 05:48:58 +00:00
chris_kohlhoff
8d787ec3a5 Add nonblocking and porthopper examples. 2008-04-21 05:41:15 +00:00
chris_kohlhoff
992b0a6f11 Fix a g++ warning about insufficient boost::array bracketing. 2008-04-21 05:40:56 +00:00
chris_kohlhoff
27d20fc39d Fix up posix descriptor unit tests. 2008-04-21 04:54:42 +00:00
chris_kohlhoff
6a475cc58f Fix long lines and search-and-replace errors. 2008-04-21 01:15:55 +00:00
chris_kohlhoff
82ac663ca9 Add requirements for handle and descriptor services. Add new classes to the
quickref index page.
2008-04-21 00:59:20 +00:00
chris_kohlhoff
aff9bc977d Ensure that timer dispatching responsibility is correctly relinquished when
processing leftover interrupts from a previous run invocation.
2008-04-20 23:58:21 +00:00