We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eb1b14 commit 416f864Copy full SHA for 416f864
Events/Select.php
@@ -95,13 +95,6 @@ class Select implements EventInterface
95
*/
96
public function __construct()
97
{
98
- // Create a pipeline and put into the collection of the read to read the descriptor to avoid empty polling.
99
- $this->channel = \stream_socket_pair(\DIRECTORY_SEPARATOR === '/' ? \STREAM_PF_UNIX : \STREAM_PF_INET,
100
- \STREAM_SOCK_STREAM, \STREAM_IPPROTO_IP);
101
- if($this->channel) {
102
- \stream_set_blocking($this->channel[0], 0);
103
- $this->_readFds[0] = $this->channel[0];
104
- }
105
// Init SplPriorityQueue.
106
$this->_scheduler = new \SplPriorityQueue();
107
$this->_scheduler->setExtractFlags(\SplPriorityQueue::EXTR_BOTH);
0 commit comments