Commit Graph

2251 Commits

Author SHA1 Message Date
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
chris
24e0725efa Added initial locking_dispatcher implementation. 2004-03-22 07:56:59 +00:00
chris
271db66458 Add a demuxer::wrap function that creates a function object to
automatically dispatches a handler through the given demuxer.
2004-03-20 11:23:54 +00:00
chris
811b529743 Removed completion context support. 2004-03-20 06:27:48 +00:00
chris
3ec1b15b05 Removed completion context support. 2004-03-20 03:07:51 +00:00
chris
5c1d5b2e80 Removed completion context support. 2004-03-20 01:01:39 +00:00
chris
8a3d80d22c Added buffering implementation for send operations. 2004-01-17 04:40:20 +00:00
chris
40e376e4b4 Check for error code in asynchronous handler before copying out buffered
data.
2004-01-17 04:22:37 +00:00
chris
ea25d1be81 asio version 0.1.5 released 2004-01-16 07:13:02 +00:00
chris
47d84c012f Allow reuse of the port. 2004-01-13 02:03:38 +00:00
chris
0c098ebb2a Fix errors in doxygen comments. 2004-01-13 01:40:15 +00:00
chris
747a0561d8 Fix make check rule in Borland makefile. 2004-01-13 01:37:55 +00:00
chris
2e7b48532b Add check target to Microsoft and Borland makefiles. 2004-01-13 01:31:53 +00:00
chris
f45029a17c Fix mismatch in parameter name in doxygen comment. 2004-01-13 01:14:23 +00:00