projects
/
core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
b8cceeb
)
Errors from time_sleep_until() are now ignored, it may sometimes happen and annoying...
author
Roland Häder
<roland@mxchange.org>
Mon, 18 Apr 2011 20:53:00 +0000
(20:53 +0000)
committer
Roland Häder
<roland@mxchange.org>
Mon, 18 Apr 2011 20:53:00 +0000
(20:53 +0000)
inc/classes/main/class_BaseFrameworkSystem.php
patch
|
blob
|
history
diff --git
a/inc/classes/main/class_BaseFrameworkSystem.php
b/inc/classes/main/class_BaseFrameworkSystem.php
index 7a43629c0abf8dc23034e7b64f7bee5dab8d63d4..9491cb23c2015afaf8ddf9894542481e19a6fd6b 100644
(file)
--- a/
inc/classes/main/class_BaseFrameworkSystem.php
+++ b/
inc/classes/main/class_BaseFrameworkSystem.php
@@
-1368,8
+1368,8
@@
class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
// Get current time and add idle time
$sleepUntil = $this->getMilliTime() + abs($milliSeconds) / 1000;
// Get current time and add idle time
$sleepUntil = $this->getMilliTime() + abs($milliSeconds) / 1000;
- // New PHP 5.1.0 function found
- $hasSlept = time_sleep_until($sleepUntil);
+ // New PHP 5.1.0 function found
, ignore errors
+ $hasSlept =
@
time_sleep_until($sleepUntil);
} else {
// My Sun Station doesn't have that function even with latest PHP
// package. :(
} else {
// My Sun Station doesn't have that function even with latest PHP
// package. :(