2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-11 23:52:29 +00:00
Files
fiber/test
Nat Goodspeed b51d78877c Test that bounded_channel(n, n) throws an exception.
Given the documented behavior of bounded_channel(hwm, lwm), it follows that
bounded_channel(n, n) is invalid.

If the number of items in the channel == hwm, a push will block.

But if the number of items in the channel <= lwm, a push will succeed without
blocking.

Therefore, setting hwm == lwm results in a contradiction.
2015-08-15 11:12:34 -04:00
..
2015-01-01 14:40:39 +01:00
2015-06-20 21:31:34 +02:00
2015-01-01 14:40:39 +01:00
2015-06-24 18:23:11 +02:00
2014-12-27 19:07:42 +01:00
2014-12-27 19:07:42 +01:00
2015-06-20 21:31:34 +02:00
2015-01-01 14:40:39 +01:00
2014-12-27 19:07:42 +01:00