Commit Graph

2114 Commits

Author SHA1 Message Date
chris
be0090faa1 asio version 0.1.8 released 2004-04-28 07:31:09 +00:00
chris
90128f6e4e Added missing backslash. 2004-04-28 07:10:50 +00:00
chris
3d8e0303ae Make simple functions inline. Fully qualify some calls to work around a
borland compiler bug.
2004-04-28 06:56:18 +00:00
chris
25ed3a9911 Added new recv_at_least_n and send_at_least_n functions. Added unit tests
for the send*() and recv*() families of functions.
2004-04-28 05:41:31 +00:00
chris
279b720341 Fix filenames in file header comments. 2004-04-27 02:15:28 +00:00
chris
e19c3deb7d Added UDP daytime tutorial programs. 2004-04-23 07:43:17 +00:00
chris
227579fb2c Add a static cast to prevent a performance warning on MSVC 7.1 2004-04-23 07:33:16 +00:00
chris
32d678cee7 Use an unsigned integer for the hash value to prevent the possibility of
trying to use a negative bucket index.
2004-04-23 06:39:02 +00:00
chris
c910345385 Added locking_dispatcher_test to list of unit tests to be run when you do
a `make check'.
2004-04-22 06:47:01 +00:00
chris
dfb6e562a7 Indicate that the Linux instructions also apply to UNIX. 2004-04-22 06:36:41 +00:00
chris
ca4204c179 Cosmetic changes to generated documentation 2004-04-22 06:13:37 +00:00
chris
2c8ca88d49 Add note that gcc 3.4.0 has been tested. 2004-04-22 01:38:50 +00:00
chris
4ddfbf4e70 Remove unnecessary intermediate handle_timeout function. 2004-04-21 08:48:57 +00:00
chris
0ffaae70d5 Comment out the unused function arguments to prevent a compiler warning. 2004-04-21 07:31:14 +00:00
chris
d136101d19 Add a new hash_map class which replaces the map used by the
reactor_op_queue. Change the timer queue implementation to use the hash_map
internally to map a caller-supplied token to the waiting timers. This
should fix the race condition we had previously when setting the token to
0 in the handler callback.
2004-04-21 07:30:32 +00:00
chris
55ecca6659 Rearranged tutorial documentation to make it easier to add new sections to
the tutorials.
2004-04-16 02:53:26 +00:00
chris
756c20a05d Use the thread class from the asio namespace. 2004-04-15 07:29:35 +00:00
chris
68aed92981 Clarify the behaviour of the thread class when you fail to call join()
before the thread object is destroyed.
2004-04-15 07:29:08 +00:00
chris
69aac1be3e Some improvements to doxygen comments. 2004-04-15 07:08:25 +00:00
chris
044fa013fb Made the thread abstraction into a publicly available class. 2004-04-15 05:54:33 +00:00
chris
9999eb0f9c Always close the thread handle in the destructor. 2004-04-15 03:04:46 +00:00
chris
a0aeb885eb Clean up some MSVC performance warnings. 2004-04-14 03:35:34 +00:00
chris
e95c4ba207 Made some improvements to the doxygen-generated documentation. 2004-04-13 04:03:12 +00:00
chris
85d8814be8 Added a link to the boost::bind documentation from the tutorial. 2004-04-13 02:14:33 +00:00
chris
00f19be336 Added an asynchronous server example for the daytime tutorial. 2004-04-13 02:11:07 +00:00
chris
4b59c5341c Ignore generated files. 2004-04-12 08:02:48 +00:00
chris
fde73ef39f Remove the ostream insertion operator to remove the dependency on the
iostream header.
2004-04-12 03:51:16 +00:00
chris
283dad932d Use a specific type rather than void* for the conversion to "bool" operator
on the socket_error class.
2004-04-12 03:03:04 +00:00
chris
71f4998a22 Some enhancements to the tutorial text. 2004-04-12 02:28:52 +00:00
chris
9f65944bdb Fire waiting callbacks if setting a timer causes it to expire. 2004-04-12 02:28:15 +00:00
chris
c93dcae417 Add support for named placeholders in the callback arguments. 2004-04-12 02:25:52 +00:00
chris
012fcddfda Reversed the order of the last_length and total_length parameters to the
handler functions for async_recv_n and async_send_n. Since users of these
functions are more likely to want to ignore the total_length parameter,
making it last allows it to be omitted from user-defined handlers. This is
because a functor created using boost::bind will automatically discard
excess arguments before invoking the handler contained within it.
2004-04-11 01:37:12 +00:00
chris
03b59cb411 Undefine the ASIO_SOCKET_ERROR macro when it is no longer needed. 2004-04-11 01:13:12 +00:00
chris
3e7c9641ec Start adding new tutorial programs based around the daytime protocol. 2004-04-08 08:18:26 +00:00
chris
b78173d8e0 Add new error handling expression templates for ignoring errors. 2004-04-07 07:48:15 +00:00
chris
61442935bd Made some tutorial documentation fixes. 2004-04-07 06:28:36 +00:00
chris
eb2ef761a6 Fixed typo in comments. 2004-04-07 06:00:28 +00:00
chris
710a087145 Don't specify explicit width in mdname style. 2004-04-07 05:37:15 +00:00
chris
572fd75a66 asio version 0.1.7 released 2004-04-06 08:10:24 +00:00
chris
20c3ff7e7c Check if a socket is valid before starting a new asynchronous operation. If
it is not valid then an error will be posted.
2004-04-06 07:29:20 +00:00
chris
332a7579e6 Add a note about adding a rw_locking_dispatcher class. 2004-04-06 07:24:26 +00:00
chris
207c789f6a Fix memory leaks in performance test server code. 2004-04-06 07:18:22 +00:00
chris
03b74e9aad Always pass 0 for bytes_sent when there is an error. 2004-04-06 06:33:52 +00:00
chris
d91d641e3b asio version 0.1.6 released 2004-03-23 06:56:50 +00:00
chris
d22dc2a7a2 Adding locking_dispatcher links to main documentation page. 2004-03-23 06:39:43 +00:00
chris
ff4d9aa0df Don't delete the waiter until we have finished accessing the dispatcher
implementation, just in case the waiter's handler owns the dispatcher.
2004-03-23 02:29:55 +00:00
chris
2383eb2407 Add back the -ftemplate-depth-32 option for g++, since it seems to be
needed again.
2004-03-22 23:51:11 +00:00
chris
63b2a6b1ae Update build files to add support for boost 1.31.0. 2004-03-22 21:27:26 +00:00
chris
cac7b18cfa MSVC6 requires explicit initialisation with zero. 2004-03-22 08:14:20 +00:00
chris
f80bc25875 Added initial locking_dispatcher implementation. 2004-03-22 07:59:33 +00:00