You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: PHPDaemon/Core/Daemon.php
+121-45
Original file line number
Diff line number
Diff line change
@@ -21,57 +21,73 @@ class Daemon {
21
21
use \PHPDaemon\Traits\StaticObjectWatchdog;
22
22
23
23
/**
24
-
* @TODO DESCR
24
+
* Support of runkit sandbox functionality
25
+
* @var integer
25
26
*/
26
27
constSUPPORT_RUNKIT_SANDBOX = 0;
28
+
27
29
/**
28
-
* @TODO DESCR
30
+
* Support of runkit on-the-fly userland code modification functionality
31
+
* @var integer
29
32
*/
30
33
constSUPPORT_RUNKIT_MODIFY = 1;
34
+
31
35
/**
32
-
* @TODO DESCR
36
+
* Support of runkit on-the-fly internal code modification functionality
37
+
* @var integer
33
38
*/
34
39
constSUPPORT_RUNKIT_INTERNAL_MODIFY = 2;
40
+
35
41
/**
36
-
* @TODO DESCR
42
+
* Support of runkit on-the-fly userland code import functionality
43
+
* @var integer
37
44
*/
38
45
constSUPPORT_RUNKIT_IMPORT = 3;
46
+
39
47
/**
40
-
* @TODO DESCR
48
+
* Worker state: idle. It means that the worker IS NOT in the middle of execution valuable callback (e.g. request) at this moment of time. Currently, it does not mean that worker not have any pending operations.
49
+
* @var integer
41
50
*/
42
51
constWSTATE_IDLE = 1;
52
+
43
53
/**
44
-
* @TODO DESCR
54
+
* Worker state: busy. It means that the worker IS in the middle of execution valuable callback.
45
55
*/
46
56
constWSTATE_BUSY = 2;
57
+
47
58
/**
48
-
* @TODO DESCR
59
+
* Worker state: shutdown. It means that worker is shutdown. Nothing special.
60
+
* @var integer
49
61
*/
50
62
constWSTATE_SHUTDOWN = 3;
63
+
51
64
/**
52
-
* @TODO DESCR
65
+
* Worker state: shutdown. It means that worker is shutdown.
66
+
* @var integer
53
67
*/
54
68
constWSTATE_PREINIT = 4;
69
+
55
70
/**
56
-
* @TODO DESCR
71
+
* Worker state: initialization. It means that worker is starting right now.
0 commit comments