Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F84434524
PhutilNiceDaemon.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Sep 22, 21:08
Size
267 B
Mime Type
text/x-php
Expires
Tue, Sep 24, 21:08 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21018242
Attached To
rPHU libphutil
PhutilNiceDaemon.php
View Options
<?php
/**
* Daemon which behaves properly.
*
* @group testcase
*/
final
class
PhutilNiceDaemon
extends
PhutilTortureTestDaemon
{
public
function
run
()
{
while
(
true
)
{
$this
->
log
(
date
(
'r'
));
$this
->
stillWorking
();
sleep
(
1
);
}
}
}
Event Timeline
Log In to Comment