amphp / ext-uv

Other
191 stars 28 forks source link

windows `uv_async_init` the callback does not accept status, will hang. #80

Closed TheTechsTech closed 4 years ago

TheTechsTech commented 4 years ago

the example async.php stalls/hangs on windows, changing

$async = uv_async_init($loop, function($async, $status)

to

$async = uv_async_init($loop, function($async)

Lets the script execute as expected.