mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #42749 from pocke/_CI_skip__Add___see_below___notations_to_threading_documentation
[CI skip] Add `(see below)` notations to threading documentation
This commit is contained in:
commit
d9e188dbab
1 changed files with 5 additions and 5 deletions
|
@ -72,7 +72,7 @@ end
|
||||||
```
|
```
|
||||||
|
|
||||||
TIP: If you repeatedly invoke application code from a long-running process, you
|
TIP: If you repeatedly invoke application code from a long-running process, you
|
||||||
may want to wrap using the Reloader instead.
|
may want to wrap using the [Reloader](#reloader) instead.
|
||||||
|
|
||||||
Each thread should be wrapped before it runs application code, so if your
|
Each thread should be wrapped before it runs application code, so if your
|
||||||
application manually delegates work to other threads, such as via `Thread.new`
|
application manually delegates work to other threads, such as via `Thread.new`
|
||||||
|
@ -108,9 +108,10 @@ end
|
||||||
|
|
||||||
### Concurrency
|
### Concurrency
|
||||||
|
|
||||||
The Executor will put the current thread into `running` mode in the Load
|
The Executor will put the current thread into `running` mode in the [Load
|
||||||
Interlock. This operation will block temporarily if another thread is currently
|
Interlock](#load-interlock). This operation will block temporarily if another
|
||||||
either autoloading a constant or unloading/reloading the application.
|
thread is currently either autoloading a constant or unloading/reloading
|
||||||
|
the application.
|
||||||
|
|
||||||
Reloader
|
Reloader
|
||||||
--------
|
--------
|
||||||
|
@ -320,4 +321,3 @@ backtrace.
|
||||||
Generally a deadlock will be caused by the interlock conflicting with some other
|
Generally a deadlock will be caused by the interlock conflicting with some other
|
||||||
external lock or blocking I/O call. Once you find it, you can wrap it with
|
external lock or blocking I/O call. Once you find it, you can wrap it with
|
||||||
`permit_concurrent_loads`.
|
`permit_concurrent_loads`.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue