Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ single [`run()`](#run) call that is controlled by the user.
* [Install](#install)
* [Tests](#tests)
* [License](#license)
* [Known issues](#known-issues)
* [More](#more)

## Quickstart example
Expand Down Expand Up @@ -704,6 +705,10 @@ $ php vendor/bin/phpunit

MIT, see [LICENSE file](LICENSE).

## Known Issues
* _*pecl-event*_ on Windows is not capable of accepting arbitrary file descriptor types (`EventConfig::FEATURE_FDS`).
Instead if an user requires this feature, _*libuv*_ should be used. [Related issue](https://github.com/reactphp/event-loop/issues/189)

## More

* See our [Stream component](https://github.com/reactphp/stream) for more
Expand Down
5 changes: 4 additions & 1 deletion src/ExtEventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ public function __construct()
}

$config = new EventBaseConfig();
$config->requireFeatures(EventBaseConfig::FEATURE_FDS);
// Skip `EventBaseConfig::FEATURE_FDS` due an issue https://github.com/reactphp/event-loop/issues/189
if ('WIN' !== strtoupper(substr(PHP_OS, 0, 3))) {
$config->requireFeatures(EventBaseConfig::FEATURE_FDS);
}

$this->eventBase = new EventBase($config);
$this->futureTickQueue = new FutureTickQueue();
Expand Down