mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
doc/fiber.md: fix typos
This commit is contained in:
parent
7340e7f827
commit
ae26d5bd41
1 changed files with 2 additions and 2 deletions
|
|
@ -39,7 +39,7 @@ instrumentation.
|
|||
To set the scheduler for the current thread:
|
||||
|
||||
``` ruby
|
||||
Fiber.set_schduler(MyScheduler.new)
|
||||
Fiber.set_scheduler(MyScheduler.new)
|
||||
```
|
||||
|
||||
When the thread exits, there is an implicit call to `set_scheduler`:
|
||||
|
|
@ -182,7 +182,7 @@ fiber-specific.
|
|||
|
||||
#### Queue / SizedQueue
|
||||
|
||||
The `Queue` and `SizedQueue` classses can be used in a non-blocking context and
|
||||
The `Queue` and `SizedQueue` classes can be used in a non-blocking context and
|
||||
are fiber-specific.
|
||||
|
||||
#### Thread
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue