diff options
| author | Rickard Green <[email protected]> | 2016-05-31 15:56:39 +0200 | 
|---|---|---|
| committer | Rickard Green <[email protected]> | 2016-05-31 15:56:39 +0200 | 
| commit | bb18fe0e5f47ab8b08ce9d1847cdd24ba6c2ca5d (patch) | |
| tree | c0a06914382745bf0eee1d73cdaa0e2a18bbbc99 /erts/doc/src | |
| parent | d4030f6e329b33bc5e5a3c7952c7e7d466bd7b2d (diff) | |
| parent | 730b5c14a33800bb5b0c19e8e48b213e07402179 (diff) | |
| download | otp-bb18fe0e5f47ab8b08ce9d1847cdd24ba6c2ca5d.tar.gz otp-bb18fe0e5f47ab8b08ce9d1847cdd24ba6c2ca5d.tar.bz2 otp-bb18fe0e5f47ab8b08ce9d1847cdd24ba6c2ca5d.zip  | |
Merge branch 'rickard/ds-doc/OTP-13123'
* rickard/ds-doc/OTP-13123:
  minor fixes
Diffstat (limited to 'erts/doc/src')
| -rw-r--r-- | erts/doc/src/erl_nif.xml | 20 | 
1 files changed, 10 insertions, 10 deletions
diff --git a/erts/doc/src/erl_nif.xml b/erts/doc/src/erl_nif.xml index 57e047af08..4efd155b09 100644 --- a/erts/doc/src/erl_nif.xml +++ b/erts/doc/src/erl_nif.xml @@ -322,13 +322,13 @@ ok  	<p>The  	<seealso marker="#enif_consume_timeslice">enif_consume_timeslice()</seealso> -	function can be used to inform the runtime system about the lenght of the +	function can be used to inform the runtime system about the length of the  	NIF call. It should typically always be used unless the NIF executes very  	quickly.</p> -	<p>If the NIF call is too lenghty one needs to handle this in one of the +	<p>If the NIF call is too lengthy one needs to handle this in one of the  	following ways in order to avoid degraded responsiveness, scheduler load -	balancing problems, and other strange behaviours:</p> +	balancing problems, and other strange behaviors:</p>  	<taglist>  	  <tag>Yielding NIF</tag> @@ -410,14 +410,14 @@ ok  	      <seealso marker="erlang#system_flag_multi_scheduling"><c>erlang:system_flag(multi_scheduling,  	      block)</c></seealso>, might also take a very long time to  	      complete. This since all ongoing dirty operations on all -	      dirty schedulers need to complete before the the block +	      dirty schedulers need to complete before the block  	      operation can complete.  	    </p>  	    <p>  	      A lot of operations communicating with a process executing a  	      dirty NIF can, however, complete while it is executing the -	      dirty NIF. For example, retreiving information about it via +	      dirty NIF. For example, retrieving information about it via  	      <c>process_info()</c>, setting its group leader,  	      register/unregister its name, etc.  	    </p> @@ -425,10 +425,10 @@ ok  	    <p>  	      Termination of a process executing a dirty NIF can only be  	      completed up to a certain point while it is executing the -	      dirty NIF. All Erlang resources such as registered names, -	      ETS tables, etc will be released. All links and monitors +	      dirty NIF. All Erlang resources such as its registered name, +	      its ETS tables, etc will be released. All links and monitors  	      will be triggered. The actual execution of the NIF will -	      however <em>not</em> be stopped. The NIF can safely contiue +	      however <em>not</em> be stopped. The NIF can safely continue  	      execution, allocate heap memory, etc, but it is of course better  	      to stop executing as soon as possible. The NIF can check  	      whether current process is alive or not using @@ -450,8 +450,8 @@ ok  		  collect a process in order to determine if it has  		  references to the module, a process executing a dirty  		  NIF might delay purging for a very long time. Delaying -		  a purge operatin implies delaying <em>all</em> code -		  loding operations which might cause severe problems for +		  a purge operation implies delaying <em>all</em> code +		  loading operations which might cause severe problems for  		  the system as a whole.  		</p>  	      </item>  | 
