Skip to content

Commit 68b7212

Browse files
comments
1 parent 184860f commit 68b7212

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/aws/s3/s3_buffer_pool.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
* Note: in some cases pipeline can stall if new buffer cannot be allocated (ex. async writes flow).
2525
* In this case reserve request will indicate that not granting the ticket can block and buffer pool should try to
2626
* allocate ticket right away (or wait and call waker when mem is allocated for the case of async writes).
27+
* Note for custom pool implementations: Scheduler keeps track of all outstanding futures and will error them out when
28+
* request is paused or cancelled. Its still fine for memory pool implementation to deliver ticket (it will just be
29+
* released by future right away with no side effects) or just ignore the future if its already in error state.
2730
*/
2831

2932
AWS_PUSH_SANE_WARNING_LEVEL

0 commit comments

Comments
 (0)