diff options
author | Björn Gustavsson <[email protected]> | 2017-02-15 10:24:24 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-02-15 10:24:24 +0100 |
commit | 0eb04da53fea8d56592f73dccacd1aa62fe672df (patch) | |
tree | 8d8d22d880bc3425053f8975fa3096cc1e40525a /erts/emulator/internal_doc/ThreadProgress.md | |
parent | 6214dbede3ae21c661408a54278787c7d9a62d9e (diff) | |
parent | 45f9ea530c40aa771bc3549894863b981c9f8e7b (diff) | |
download | otp-0eb04da53fea8d56592f73dccacd1aa62fe672df.tar.gz otp-0eb04da53fea8d56592f73dccacd1aa62fe672df.tar.bz2 otp-0eb04da53fea8d56592f73dccacd1aa62fe672df.zip |
Merge branch 'fix-source-typos'
* fix-source-typos: (25 commits)
Fixed typos in system/doc
Fixed typos in lib/xmerl
Fixed typos in lib/wx
Fixed typos in lib/stdlib
Fixed typos in lib/snmp
Fixed typos in lib/ssl
Fixed typos in lib/ssh
Fixed typos in PKCS-8.asn1 file
Fixed typos in lib/parsetools
Fixed typos in lib/orber
Fixed typos in lib/mnesia
Fixed typos in lib/megaco
Fixed typos in lib/kernel
Fixed typos in lib/jinterface
Fixed typos in lib/inets
Fixed typos in lib/hipe
Fixed typos in lib/eunit
Fixed typos in lib/erl_interface
Fixed typos in lib/eldap
Fixed typos in lib/edoc
...
Diffstat (limited to 'erts/emulator/internal_doc/ThreadProgress.md')
-rw-r--r-- | erts/emulator/internal_doc/ThreadProgress.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/internal_doc/ThreadProgress.md b/erts/emulator/internal_doc/ThreadProgress.md index 6118bcf0f6..03a802f904 100644 --- a/erts/emulator/internal_doc/ThreadProgress.md +++ b/erts/emulator/internal_doc/ThreadProgress.md @@ -60,7 +60,7 @@ threads are managed threads. ### Thread Progress Events ### Any thread in the system may use the thread progress functionality in -order to determine when the following events have occured at least +order to determine when the following events have occurred at least once in all managed threads: 1. The thread has returned from other code to a known state in the @@ -160,7 +160,7 @@ calling the following functions: * `int erts_thr_progress_leader_update(ErtsSchedulerData *esdp)` - Leader update thread progress. -Unmanaged threads can delay thread progress beeing made: +Unmanaged threads can delay thread progress being made: * `ErtsThrPrgrDelayHandle erts_thr_progress_unmanaged_delay(void)` - Delay thread progress. @@ -251,7 +251,7 @@ doing so. If not zero, the leader isn't allowed to increment the global counter, and needs to wait before it can do this. When it is zero, it swaps the `waiting` and `current` counters before increasing the global counter. From now on the new `waiting` counter will -decrease, so that it eventualy will reach zero, making it possible to +decrease, so that it eventually will reach zero, making it possible to increment the global counter the next time. If we only used one reference counter it would potentially be held above zero for ever by different unmanaged threads. @@ -261,7 +261,7 @@ prevent the next increment of the global counter, but instead the increment after that. This is sufficient since the global counter needs to be incremented two times before thread progress has been made. It is also desirable not to prevent the first increment, since -the likelyhood increases that the delay is withdrawn before any +the likelihood increases that the delay is withdrawn before any increment of the global counter is delayed. That is, the operation will cause as little disruption as possible. |