Cross-platform asynchronous I/O and system calls
MIT License
Bot releases are hidden (Show)
Bugs fixed
const
-ness wrapper was harmful on GCC 14 and ctypes 0.23.0 (#159, reported Olaf Hering).Published by aantron 8 months ago
Breaking
Luv.Resource.free_memory
and Luv.Resource.total_memory
now return options, in accordance with a clarification in libuv (#153).Luv.FS_event.start
can be None
, in accordance with a clarification in libuv (#155).Luv.Time.timeval
(dbd4e43).Additions
uv_cpumask_size
as Luv.System_info.cpumask_size
, uv_thread_setaffinity
as Luv.Thread.setaffinity
, uv_thread_getaffinity
as Luv.Thread.getaffinity
(#153).UV_ENODATA
as `ENODATA
(#153).uv_metrics_info
as Luv.Metrics.info
(#153).uv_thread_getcpu
as Luv.Thread.getcpu
(#153).uv_get_available_memory
as Luv.Resource.available_memory
(#153).uv_os_get_passwd2
as ?uid
parameter of Luv.Passwd.get_passwd
(#153).uv_os_get_group
as Luv.Passwd.get_group
(#153).uv_clock_gettime
as Luv.Time.clock_gettime
(#153).uv_pipe_bind2
and uv_pipe_connect2
as ?no_truncate
parameters of Luv.Pipe.bind
and Luv.Pipe.connect
(#154).EUNATCH
as `EUNATCH
(#154).Luv.String
(#155).uv_thread_setpriority
as Luv.Thread.setpriority
and uv_thread_getpriority
as Luv.Thread.getpriority
(#158).UV_PROCESS_WINDOWS_FILE_PATH_EXACT_NAME
as ?windows_file_path_exact_name
parameter of Luv.Process.spawn
(#158).Published by aantron over 1 year ago
Breaking
Luv.Passwd.t.uid
and Luv.Passwd.t.gid
are now unsigned long
s, in accordance with a change in libuv (aantron/luv#147).Additions
uv_available_parallelism
as Luv.System_info.available_parallelism
(aantron/luv#147).Bugs fixed
uv_buf_t::len
is a size_t
(Christiano Haesbaert, aantron/luv#133).host:
config correctly during build (reported by Pablo Meier and Matthieu Gosset, aantron/luv#138).CAML_NAME_SPACE
before including OCaml headers (Antonin Décimo, aantron/luv#139).Published by aantron over 2 years ago
Additions
Bugs fixed
Published by aantron about 3 years ago
Bugs fixed
Published by aantron about 3 years ago
Additions
UV_EOVERFLOW
as `EOVERFLOW (#118).UV_ESOCKTNOSUPPORT
as `ESOCKTNOSUPPORT (#118).uv_try_write2
as Luv.Stream.try_write2
(#118).Bugs fixed
sa_family_t
on MinGW (#113, David Scott).Published by aantron over 3 years ago
Bugs fixed
sa_family_t
has different size on different platforms (#111, #112, diagnosed by David Scott).uname
checks (#101, reported by @RiderALT).int
s before comparison; affects 32-bit systems (#102, reported by @RiderALT).writev
-style TCP writing interface (#106, reported by Olaf Hering).Published by aantron over 3 years ago
Additions
uv_pipe
as Luv.Pipe.pipe
(#100).uv_socketpair
as Luv.TCP.socketpair
(#100).UV_PRIORITY_*
constants in module Luv.Resource.Priority
(#98).ENOSYS
; see notes in README (#97).Bugs fixed
SOMAXCONN
might not fit into an OCaml (31-bit) integer on 32-bit platforms (#85, reported by Aleksandr Kuzmenko).Luv.Process.spawn
, the OCaml GC was collecting uv_spawn
arguments before they were used (#87, Bryan Phelps).Luv.Thread_pool.queue_c_work
(#93, Jerry James).Published by aantron about 4 years ago
uv_timer_get_due_in
as Luv.Timer.get_due_in
(#81).UV_UDP_MMSG_FREE
as `MMSG_FREE
(#81).Published by aantron over 4 years ago
uv_fs_lutime
(#61).FS_event
`CHANGE
event (#55, Glenn Slotte).Published by aantron over 4 years ago
Initial release.