Mention fork()
This commit is contained in:
parent
2c88e2d062
commit
bc0a86eb8d
|
@ -337,6 +337,10 @@ is currently guaranteed that finalizers will always be called in the main
|
|||
thread. Breaking this property may induce subtle behaviour changes or bugs,
|
||||
for example if finalizers rely on some thread-local values.
|
||||
|
||||
Another problem is when a program uses ``fork()`` for concurrency.
|
||||
Calling ``fork()`` from a single-threaded program is safe,
|
||||
but it's fragile (to say the least) if the program is multi-threaded.
|
||||
|
||||
Explicit collections
|
||||
--------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue