Changeset 781 for trunk/Common/Global.php
- Timestamp:
- Jan 8, 2016, 11:00:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Common/Global.php
r779 r781 444 444 } 445 445 446 function RepeatFunction($Period, $ Function)446 function RepeatFunction($Period, $Callback) 447 447 { 448 448 while(1) 449 449 { 450 450 $StartTime = time(); 451 $Function();451 call_user_func($Callback); 452 452 $EndTime = time(); 453 453 $Delay = $Period - ($EndTime - $StartTime);
Note:
See TracChangeset
for help on using the changeset viewer.