Skip to content

Commit

Permalink
Remove the sentence related to locks
Browse files Browse the repository at this point in the history
  • Loading branch information
gabilang committed Sep 6, 2024
1 parent 26eff96 commit 19983f2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/strands/strands.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

By default, named workers are multitasked cooperatively, not preemptively. Each named worker has a "strand" (logical thread of control) and execution switches between strands only at specific "yield" points such as doing a wait or when a library function invokes a system call that would block.

This avoids the need for users to lock variables that are accessed from multiple named workers scheduled on the same thread.

::: code strands.bal :::

::: out strands.out :::

0 comments on commit 19983f2

Please sign in to comment.