Commit Graph

1649 Commits

Author SHA1 Message Date
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
Christopher Kohlhoff
c04d282efc Initial commit of new handler tracking for debugging. 2011-02-18 13:44:22 +11:00
Christopher Kohlhoff
1de75d0120 Make static function declarations consistent with other uses of ASIO_DECL. 2011-02-17 23:07:48 +11:00
Christopher Kohlhoff
b3d40d30dd Android uses the POSIX form of strerror_r. 2011-02-17 21:40:44 +11:00
Christopher Kohlhoff
50fb189b2a Use CreateMutexW. 2011-02-17 13:40:00 +11:00
Christopher Kohlhoff
194f50f14c Merge branch 'master' of github.com:chriskohlhoff/asio 2011-02-17 10:39:15 +11:00
Christopher Kohlhoff
1f196228fa Fix gcc build when using -mthumb with a pre-armv7 architecture. 2011-02-17 10:36:30 +11:00
Christopher Kohlhoff
ef5665bf44 Regenerate documentation. 2011-02-15 18:36:55 +11:00
Christopher Kohlhoff
db062c59c2 Add signal_set to reference index page. 2011-02-15 18:36:37 +11:00
Christopher Kohlhoff
0aaae50518 Need full reactor header for signal_set headers to compile
standalone.
2011-02-15 18:11:16 +11:00
Christopher Kohlhoff
53ba85ee47 Don't enable std::error_code by default on MSVC10, as the
std::system_error::what() function does not work correctly.
2011-02-15 17:55:02 +11:00
Christopher Kohlhoff
5fbd31b456 Add a new class, asio::signal_set, for signal handling.
signals.
2011-02-15 17:11:44 +11:00
Christopher Kohlhoff
aad3a31b6d Fix function name in comment for asio::placeholders::iterator. 2011-02-15 16:49:38 +11:00
Christopher Kohlhoff
a50b53864f Fix bug on kqueue-based platforms, where reactor read operations that
return false from their perform() function are not correctly
re-registered with kqueue.
2011-02-15 16:45:00 +11:00
Christopher Kohlhoff
c65bd0fd02 Ensure asio::streambuf's internal pointers are updated correctly after
the data has been modified using std::streambuf member functions.
2011-02-15 16:17:36 +11:00
Christopher Kohlhoff
ff90fcadd2 asio version 1.5.0 released 2011-02-15 16:17:36 +11:00
Christopher Kohlhoff
ddcef20407 Fix up native_non_blocking() example and change it to be a complete
working example of wrapping Linux's sendfile system call.
2011-02-15 16:17:35 +11:00
Christopher Kohlhoff
98522be78c Add configure detection for boost 1.45.0. 2011-02-15 16:17:35 +11:00