Christopher Kohlhoff
6ff1195806
Add revision history.
2012-08-13 21:09:40 +10:00
Christopher Kohlhoff
854d019a58
Instead of using tie(), set the ios_base::unitbuf flag to force the stream to be flushed after every insertion.
2012-07-24 09:40:24 +10:00
Christopher Kohlhoff
1afef34c9a
Decorate GCC attribute names with underscores to prevent interaction
...
with user-defined macros.
2012-07-22 15:49:35 +10:00
Christopher Kohlhoff
45ccb86ae5
Add missing #include of <cctype>, needed for some versions of MinGW.
2012-07-22 09:30:45 +10:00
Christopher Kohlhoff
368bd798f5
Use gcc's atomic builtins on arm, when available.
2012-07-18 09:45:26 +10:00
Christopher Kohlhoff
db0128072c
Intel compiler version 11 seems to support __thread keyword too.
2012-07-17 09:16:16 +10:00
Christopher Kohlhoff
8730c250cc
Ensure use of __thread keyword is disabled for older Intel compilers.
2012-07-17 09:09:07 +10:00
Christopher Kohlhoff
91dd4e9943
Make strand destruction a no-op, to allow strand objects to be destroyed
...
after their associated io_service has been destroyed.
2012-07-15 09:56:46 +10:00
Christopher Kohlhoff
baab2276d8
Use the __thread keyword extension when compiling with gcc on linux x86.
2012-07-15 08:58:05 +10:00
Christopher Kohlhoff
572024a782
Avoid calling work_finished() if a completion handler creates more work.
2012-07-13 18:50:34 +10:00
Christopher Kohlhoff
54621fbc87
Eliminate redundant call to call_stack::contains(this) when dispatching a completion handler.
2012-07-13 16:55:53 +10:00
Christopher Kohlhoff
3e01781654
Add support for some newer versions of glibc which provide the epoll_create1
...
function but always fail with ENOSYS.
2012-07-13 16:37:53 +10:00
Christopher Kohlhoff
dffb3d299a
Use SSE2 load and store fences.
2012-07-11 09:51:01 +10:00
Christopher Kohlhoff
4dfd6c3fad
Throw exception if SSL engine initialisation fails.
2012-07-11 09:41:03 +10:00
Christopher Kohlhoff
62fb608f99
Fix another regression in buffered_write_stream.
2012-07-11 09:34:30 +10:00
Christopher Kohlhoff
1d1e3365bc
asio version 1.8.1 released
2012-07-10 22:59:38 +10:00
Christopher Kohlhoff
b29bdb4e5b
Add detection for Boost 1.50.0.
2012-07-04 08:59:56 +10:00
Christopher Kohlhoff
f7264629b0
Update revision history.
2012-05-29 07:59:36 +10:00
Christopher Kohlhoff
83499da38e
Use the thread's private_op_queue for handlers returned by the reactor task.
...
This fixes a problem where signal_set handlers are not being called when the
io_service's concurrency hint is set to 1.
2012-05-29 07:56:12 +10:00
Christopher Kohlhoff
2ded50396f
Add support for g++ 4.7 when compiling in C++11 mode.
2012-05-29 07:23:55 +10:00
Christopher Kohlhoff
0a33dcbd6f
Revision history.
2012-05-27 07:54:19 +10:00
Christopher Kohlhoff
9e029a9bf0
Added lazy registration for EPOLLOUT.
2012-05-27 07:43:30 +10:00
Christopher Kohlhoff
003cb496b7
Eliminate a lock/unlock pair when rescheduling a strand.
2012-05-24 18:23:16 +10:00
Christopher Kohlhoff
136483df13
Remove trailing whitespace.
2012-05-24 09:23:22 +10:00
Christopher Kohlhoff
10f4bceda3
Last version's race-condition-related revert in the epoll_reactor was
...
incomplete and broke out-of-band handling. Fixed epoll_reactor::start_op so
that it is now exactly the same as the older, working version.
2012-05-24 08:11:45 +10:00
Christopher Kohlhoff
1f65c999c6
Respect the OPENSSL_NO_ENGINE feature test #define.
2012-05-24 07:38:10 +10:00
Christopher Kohlhoff
199ba153a4
Use correct basic_io_object member functions so that basic_object_handle works with c++11 compilers.
2012-05-24 06:44:24 +10:00
Christopher Kohlhoff
b49202062e
asio version 1.8.0 released
2012-05-23 08:57:28 +10:00
Christopher Kohlhoff
baa2094fa1
Updated revision history.
2012-05-23 07:21:46 +10:00
Christopher Kohlhoff
a6fb607ab0
Regenerate documentation.
2012-05-23 07:19:50 +10:00
Christopher Kohlhoff
d8e460eb86
Exclude Clock type from type requirements hyperlinks.
2012-05-23 06:48:42 +10:00
Christopher Kohlhoff
0482ea699e
Fix date.
2012-05-23 06:47:21 +10:00
Christopher Kohlhoff
fc5fba999e
Fix doc formatting.
2012-05-23 06:45:47 +10:00
Christopher Kohlhoff
23b5d3f304
Regenerate documentation.
2012-05-22 18:55:11 +10:00
Christopher Kohlhoff
fc2efe3da5
Fix bug where the second buffer in an array of two buffers may be
...
ignored if the first buffer is empty.
2012-05-22 18:42:54 +10:00
Christopher Kohlhoff
52ce6325b9
Revert previous change that allowed some operations to be performed without
...
holding the lock, as it introduced a race condition in certain multithreaded
scenarios.
2012-05-22 18:42:54 +10:00
Christopher Kohlhoff
58e019b341
Revision history.
2012-05-22 18:42:53 +10:00
Christopher Kohlhoff
d779910fd0
Add type requirements for new features.
2012-05-22 18:42:53 +10:00
Christopher Kohlhoff
a7fa7be996
Specifically list classes that don't have convenience headers.
2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
eab22af930
Fix doxygen comments.
2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
ea32f01cab
Add extra include to get definition of OVERLAPPED struct.
2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
fb2fc1c193
Disable object_handle support under Windows CE.
2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
816dfb35c1
There is no need to call PostQueuedCompletionStatus to stop the io_service if
...
the outstanding work count is initially zero. A run/poll call can only be
calling GetQueuedCompletionStatus if it the count was non-zero at some point.
However, if it was previously non-zero, then the io_service will have already
been stop()-ed when the count was decremented to zero.
2012-05-22 18:38:19 +10:00
Christopher Kohlhoff
685a508ab6
On linux, connect can return EAGAIN in certain circumstances. Remap to another
...
error so that it doesn't look like a non-blocking operation.
2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
7577c05052
Fix deadlock on Mac OS X.
2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
8877272978
Fix regression in buffered_write_stream.
2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
bc59387948
Fix for NetBSD.
2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
5bcc3925d5
Fix MSVC "performance warning".
2012-05-22 18:38:18 +10:00
Christopher Kohlhoff
6cac9c3bab
Update copyright notices.
2012-05-22 18:38:16 +10:00
Christopher Kohlhoff
c62360fa16
Add object_handle support.
2012-05-22 18:37:36 +10:00