Skip to content

Commit 501b0a5

Browse files
authored
Disable uv_backend_fd integration (#630)
Might fix #503
1 parent d76faaa commit 501b0a5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/GLib/signals.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,9 @@ function __init__gmainloop__()
357357
ccall((:g_source_set_callback, GLib.libglib), Nothing, (Ptr{Nothing}, Ptr{Nothing}, UInt, Ptr{Nothing}),
358358
src, @cfunction(g_yield, Cint, (UInt,)), 1, C_NULL)
359359

360-
uv_fd = Sys.iswindows() ? -1 : ccall(:uv_backend_fd, Cint, (Ptr{Nothing},), Base.eventloop())
360+
uv_fd = -1
361+
# TODO: renable this after fixing integration with the default scheduler backend
362+
# uv_fd = Sys.iswindows() ? -1 : ccall(:uv_backend_fd, Cint, (Ptr{Nothing},), Base.eventloop())
361363
global uv_pollfd = _GPollFD(uv_fd, 0x1)
362364
if (uv_pollfd::_GPollFD).fd != -1
363365
ccall((:g_source_add_poll, GLib.libglib), Nothing, (Ptr{Nothing}, Ptr{_GPollFD}), src, Ref(uv_pollfd::_GPollFD))

0 commit comments

Comments
 (0)