Skip to content

Commit f643551

Browse files
committed
Add a note to clarify that concurrent invocation is not guaranteed for
handlers in different strands.
1 parent bebda50 commit f643551

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

asio/include/asio/strand.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ namespace asio {
7272
* happens-before the other. Therefore none of the above conditions are met and
7373
* no ordering guarantee is made.
7474
*
75+
* @note The implementation makes no guarantee that handlers posted or
76+
* dispatched through different @c strand objects will be invoked concurrently.
77+
*
7578
* @par Thread Safety
7679
* @e Distinct @e objects: Safe.@n
7780
* @e Shared @e objects: Safe.

0 commit comments

Comments
 (0)