User Tools

Site Tools


uphp:functions:setpriority

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:setpriority [2017/05/23 14:08]
jeff
uphp:functions:setpriority [2021/09/13 05:57] (current)
Line 16: Line 16:
 This function can be used to run a script with a higher priority if required.  If <html><b><span style="color:blue">priority<span style="color:black"></b></html> > 0, it will wait till all other scripts are finished before continuing, so that the maximum amount of memory is available to the script.   This function can be used to run a script with a higher priority if required.  If <html><b><span style="color:blue">priority<span style="color:black"></b></html> > 0, it will wait till all other scripts are finished before continuing, so that the maximum amount of memory is available to the script.  
  
-This will also set [[os:config:uphp.ini#max_concurrent_scripts]] to 1 to prevent other scripts from starting while this is set, so make sure to unset the priority by passing a 0 value once you have done your critical processing.+This will also set [[software:os:config:uphp.ini#max_concurrent_scripts]] to 1 to prevent other scripts from starting while this is set, so make sure to unset the priority by passing a 0 value once you have done your critical processing.
  
 ====Parameter==== ====Parameter====
Line 40: Line 40:
 </code> </code>
  
-====See Also====+====Also See====
  
-[[os:config:uphp.ini#max_concurrent_scripts]] - Operating System configuration, uphp.ini: Limit the number of scripts that can run at the same time+[[software:os:config:uphp.ini#max_concurrent_scripts]] - Operating System configuration, uphp.ini: Limit the number of scripts that can run at the same time
  
 [[max_execution_time()]] - Set the maximum execution time for the current script [[max_execution_time()]] - Set the maximum execution time for the current script
  
 [[process_list()]] - Return an <html><b><span style="color:green">array<span style="color:black"></b></html> of the currently running scripts [[process_list()]] - Return an <html><b><span style="color:green">array<span style="color:black"></b></html> of the currently running scripts
uphp/functions/setpriority.1495548529.txt.gz · Last modified: 2021/09/13 05:56 (external edit)