Skip to content

Commit 6957c0f

Browse files
committed
Fix spelling, grammar, and stale identifiers in docs and Javadocs
- doc/reference/concurrency-1.md: fix misspellings (exmaple_thread, initiazer), grammar errors, and remove duplicated content - doc 4c.executors.adoc: correct "two methods" to "three methods" - doc 8l.RunApi.adoc: fix garbled section symbol - doc why-capy.adoc: hyphenate "twenty-five", fix "with over decades" - task.hpp, thread_pool.hpp: fix stale repository URLs - io_awaitable.hpp, io_awaitable_promise_base.hpp: env->allocator and this_coro::allocator to env->frame_allocator and this_coro::frame_allocator - dynamic_buffer.hpp: string_buffers to string_dynamic_buffer with correct pointer syntax in code examples
1 parent 137bbd8 commit 6957c0f

File tree

9 files changed

+25
-1409
lines changed

9 files changed

+25
-1409
lines changed

doc/modules/ROOT/pages/4.coroutines/4c.executors.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This section explains executors and execution contexts—the mechanisms that con
99

1010
== The Executor Concept
1111

12-
An *executor* is an object that can schedule work for execution. In Capy, executors must provide two methods:
12+
An *executor* is an object that can schedule work for execution. In Capy, executors must provide three methods:
1313

1414
[source,cpp]
1515
----

doc/modules/ROOT/pages/8.design/8l.RunApi.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Coroutine frame allocation happens _before_ the coroutine body executes. When th
232232

233233
Any mechanism that injects the allocator _after_ the call -- receiver queries, `await_transform`, explicit method calls -- arrives too late. The frame is already allocated.
234234

235-
This is the fundamental tension identified in D4003 3.3:
235+
This is the fundamental tension identified in D4003 section 3.3:
236236

237237
[quote]
238238
____

doc/modules/ROOT/pages/why-capy.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ No other solution like this exists. Not Asio. Not `std::execution`. Not anywhere
408408

409409
== The Road Ahead
410410

411-
For twenty five years, Boost.Asio has stood alone. It defined what portable asynchronous I/O looks like in {cpp}. No serious competitor offering its depth of offerings has appeared. It defined the promising Networking TS. Asio earned its place through years of production use, careful evolution, and relentless focus on real problems faced by real developers.
411+
For twenty-five years, Boost.Asio has stood alone. It defined what portable asynchronous I/O looks like in {cpp}. No serious competitor offering its depth of offerings has appeared. It defined the promising Networking TS. Asio earned its place through years of production use, careful evolution, and relentless focus on real problems faced by real developers.
412412

413-
Capy builds on Asio's foundation—the buffer sequences, the executor model, the hard-won lessons about what works. But where Asio must preserve compatibility with over decades of existing code, Capy is free to commit fully to the future. {cpp}20 coroutines are not an afterthought here. They are the foundation.
413+
Capy builds on Asio's foundation—the buffer sequences, the executor model, the hard-won lessons about what works. But where Asio must preserve compatibility with decades of existing code, Capy is free to commit fully to the future. {cpp}20 coroutines are not an afterthought here. They are the foundation.
414414

415415
The result is something new. Stream concepts designed for coroutines alone. Type-erasure at the level where it matters most. A simple execution model discovered through use-case-first design. Clean separation between execution and platform. A taxonomy of awaitables that invites extension rather than mandating a single concrete type.
416416

0 commit comments

Comments
 (0)