Commit Graph

233 Commits

Author SHA1 Message Date
chris
965ee0f3d2 Don't call pthread_join a second time if it has already been called. 2004-05-21 07:02:23 +00:00
chris
bd86840d06 Replace virtual functions with function pointers to eliminate space
overhead.
2004-05-19 07:02:50 +00:00
chris
f4070306e2 Use function pointers instead of virtual functions to reduce space
overhead.
2004-05-14 13:10:41 +00:00
chris
580dfccfa0 Replace virtual functions with free function pointers to eliminate space
overhead.
2004-05-14 06:25:36 +00:00
chris
6094ded1b5 Remove recv_until again due to incorrect implementation. 2004-05-10 14:19:09 +00:00
chris
533914fdda Added implementation of recv_until and async_recv_until. 2004-05-10 09:06:12 +00:00
chris
53f06acc1e Added a combined TCP/UDP daytime server example. 2004-05-10 09:05:57 +00:00
chris
c02689f35d Add type traits for determining whether a stream supports buffering. 2004-05-07 09:30:49 +00:00
chris
0e338b7762 Use demuxer::dispatch() to invoke wrapped handlers. 2004-05-07 07:16:30 +00:00
chris
92414c7e63 Remove recv_decode and friends, in anticipation of a new improved way of
writing message decoders.
2004-05-07 02:12:16 +00:00
chris
e54ba39147 Add information about removing unused handler parameters. 2004-05-06 12:51:22 +00:00
chris
b9dbf779b0 Add links to the boost::bind page. 2004-05-06 12:50:29 +00:00
chris
ed18eb27a3 Remove unnecessary peer_address_ member from the connection handler. 2004-05-06 12:38:27 +00:00
chris
504a4632a0 Move the default_error_handler class to a separate header file as a
workaround for the borland precompiled header problem.
2004-05-05 07:48:11 +00:00
chris
bef303698a Need to include cassert to use the assert() macro. 2004-05-05 07:19:25 +00:00
chris
23e551fc28 Add as yet untested support for compiling with Sun's C++. 2004-04-30 06:53:56 +00:00
chris
46bc46b249 Separate the locking_dispatcher implementation class into a separate file. 2004-04-30 06:52:49 +00:00
chris
0f483b640a Add information about running the unit tests. 2004-04-30 01:15:32 +00:00
chris
98d18e116b Add support for building in a different directory to the source tree. 2004-04-29 08:09:35 +00:00
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