diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-09 23:05:29 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-09 23:05:29 +0200 |
| commit | 7a9ea3ee6d02d8eade6d7988498bd69716391563 (patch) | |
| tree | 1a920e9550114cd2dc36d4c489bb65ea1f73542a /core/sync | |
| parent | 2bc409eab53bb7208ec59d431112489eb9d226db (diff) | |
Further overhaul of package line comments.
Diffstat (limited to 'core/sync')
| -rw-r--r-- | core/sync/chan/doc.odin | 3 | ||||
| -rw-r--r-- | core/sync/doc.odin | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/core/sync/chan/doc.odin b/core/sync/chan/doc.odin index 5d65d7410..63e633531 100644 --- a/core/sync/chan/doc.odin +++ b/core/sync/chan/doc.odin @@ -1,6 +1,5 @@ /* -This package provides both high-level and low-level channel types -for thread-safe communication. +High-level and low-level channel types for thread-safe communication. While channels are essentially thread-safe queues under the hood, their primary purpose is to facilitate safe communication between diff --git a/core/sync/doc.odin b/core/sync/doc.odin index 320732ea7..faae245c4 100644 --- a/core/sync/doc.odin +++ b/core/sync/doc.odin @@ -1,11 +1,7 @@ /* -Synchronization primitives +Various synchronization primitives useful to mediate threads' access to shared memory. -This package implements various synchronization primitives that can be used to -synchronize threads' access to shared memory. - -To limit or control the threads' access to shared memory typically the -following approaches are used: +To limit or control the threads' access to shared memory typically the following approaches are used: - Locks - Lock-free |