1
0
Fork 0
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:
Jonathan Hefner 2021-07-10 10:22:01 -05:00 committed by GitHub
commit d9e188dbab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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`.