Christopher Kohlhoff
1df0c5c6ad
Implement move support for sockets on Windows.
2011-03-07 11:52:15 +11:00
Christopher Kohlhoff
8bdccf064c
Combine test for move support with provision of ASIO_MOVE_CAST macro.
2011-03-07 09:56:00 +11:00
Christopher Kohlhoff
928d38a2ac
Add move support to kqueue_reactor.
2011-03-07 00:14:05 +11:00
Christopher Kohlhoff
36cf06a953
Implement move support for sockets with the reactor-based backend.
2011-03-06 23:52:09 +11:00
Christopher Kohlhoff
825b8b08cf
Fix up comments.
2011-03-06 20:54:25 +11:00
Christopher Kohlhoff
402f9dc5f1
Fix copy/paste error in comment.
2011-03-06 20:23:51 +11:00
Christopher Kohlhoff
809d00d92a
Add move support to the select_reactor.
2011-03-06 19:27:02 +11:00
Christopher Kohlhoff
d5b1a7308f
Initial implementation of move support for posix descriptors.
2011-03-06 10:03:20 +11:00
Christopher Kohlhoff
f52dddfd5c
Don't use SIGRTMAX, as it is not required to be a compile-time constant.
2011-03-03 15:52:09 +11:00
Christopher Kohlhoff
8cd35681d7
Add fork examples to documentation.
2011-03-02 17:53:14 +11:00
Christopher Kohlhoff
252ad2eac9
Add archetypes for testing socket option functions.
2011-03-02 17:45:09 +11:00
Christopher Kohlhoff
95925ec290
Implement fork support on Solaris.
2011-03-02 07:14:24 +11:00
Christopher Kohlhoff
67adb8d63f
Add a new example showing forking from inside a completion handler.
2011-02-28 11:02:44 +11:00
Christopher Kohlhoff
8790b7e30a
Fix long line.
2011-02-28 11:02:10 +11:00
Christopher Kohlhoff
5c758bb025
Clean up the handling of errors reported by the close() system call. In
...
particular, assume that most operating systems won't have close() fail
with EWOULDBLOCK, but if it does then set blocking mode and restart the
call. If any other error occurs we assume the descriptor is closed.
2011-02-28 10:52:17 +11:00
Christopher Kohlhoff
a75fc27d25
Document that it is safe to call notify_fork() within a handler.
2011-02-28 09:36:41 +11:00
Christopher Kohlhoff
abec92780b
Don't build the fork example on Windows.
2011-02-27 18:11:03 +11:00
Christopher Kohlhoff
61e09176ec
Add a daemon example to illustrate fork support.
2011-02-27 16:54:37 +11:00
Christopher Kohlhoff
e6122c628f
Include function name in exception what() messages.
2011-02-27 16:39:37 +11:00
Christopher Kohlhoff
1d8b071714
Fix insufficient initialisers warning with MinGW.
2011-02-27 09:29:27 +11:00
Christopher Kohlhoff
2517b79311
Add missing lock in signal_set_service::cancel().
2011-02-27 09:18:46 +11:00
Christopher Kohlhoff
0e45b5cd32
Make the shutdown_service() member functions private.
2011-02-26 09:26:48 +11:00
Christopher Kohlhoff
327671da32
Fix long line.
2011-02-25 23:28:59 +11:00
Christopher Kohlhoff
f819e312cf
Implement fork support for kqueue-based platforms.
2011-02-25 23:26:27 +11:00
Christopher Kohlhoff
ad7febe9d7
Initial implementation of fork support.
2011-02-25 21:29:32 +11:00
Christopher Kohlhoff
e6211ee52b
Don't use Boost.Thread's convenience header. Use the header file that is
...
specifically for the boost::thread class instead.
2011-02-24 14:58:06 +11:00
Christopher Kohlhoff
17e8615b34
The signal header needs to be included in signal_set_service.hpp so that
...
we can use constants like NSIG and SIGRTMAX.
2011-02-24 14:57:23 +11:00
Christopher Kohlhoff
ad681b79c1
EV_ONESHOT seems to cause problems on some versions of Mac OS X, with the
...
io_service destructor getting stuck inside the close() system call. Use
EV_CLEAR instead.
2011-02-24 09:55:02 +11:00
Christopher Kohlhoff
8c5f730f83
Fix copy/paste error in SignalHandler example.
2011-02-23 12:31:16 +11:00
Christopher Kohlhoff
0e294991c7
Fix errors in revision history.
2011-02-22 16:09:35 +11:00
Christopher Kohlhoff
edf3b59811
asio version 1.5.1 released
2011-02-20 10:06:13 +11:00
Christopher Kohlhoff
e886db069e
Include handlerviz.pl in archive.
2011-02-20 09:34:12 +11:00
Christopher Kohlhoff
235af8595f
Add missing link to placeholders::signal_number.
2011-02-20 00:03:46 +11:00
Christopher Kohlhoff
370c9fddde
Fix error in doxygen comment.
2011-02-19 23:21:24 +11:00
Christopher Kohlhoff
d31c264a73
Older g++ doesn't like global namespace qualification in struct sigaction.
2011-02-19 22:50:31 +11:00
Christopher Kohlhoff
3f283a30b7
Fix unused parameter warning.
2011-02-19 22:34:38 +11:00
Christopher Kohlhoff
ff2c3aa1fe
Remove reference to non-existent win_main.cpp.
2011-02-19 22:25:02 +11:00
Christopher Kohlhoff
ad84a7d21b
Add note about iterator classes' value_type change.
2011-02-19 21:19:12 +11:00
Christopher Kohlhoff
2ea66f0f89
Regenerate documentation.
2011-02-19 21:02:01 +11:00
Christopher Kohlhoff
612c45f70f
Add documentation for signal_set.
2011-02-19 20:27:03 +11:00
Christopher Kohlhoff
c70c022f85
Add handlerviz.pl.
2011-02-19 18:01:10 +11:00
Christopher Kohlhoff
41171bb7d1
Ensure the iterator classes' value_type typedefs are non-const.
2011-02-19 17:29:32 +11:00
Christopher Kohlhoff
74fc9b4ba7
Update revision history.
2011-02-18 18:45:02 +11:00
Christopher Kohlhoff
dad54d0d21
Fix ASIO_HANDLER_CREATION call in win_iocp_overlapped_ptr.
2011-02-18 18:01:06 +11:00
Christopher Kohlhoff
acfb46feec
Older versions of g++ want friendship to be granted to the completion class.
2011-02-18 17:38:31 +11:00
Christopher Kohlhoff
7443962d8c
Fix MSVC warning.
2011-02-18 17:25:30 +11:00
Christopher Kohlhoff
f71b6dad2d
Call ASIO_HANDLER_CREATION first thing after the handler has been
...
created.
2011-02-18 17:12:08 +11:00
Christopher Kohlhoff
433d8330c9
Implement handler tracking support on Windows.
2011-02-18 16:57:17 +11:00
Christopher Kohlhoff
0da95a553d
Fix buffer size passed to swprintf_s.
2011-02-18 16:10:29 +11:00
Christopher Kohlhoff
4ee503f4d6
Fix g++ warnings about sprintf argument types.
2011-02-18 14:43:57 +11:00