luv
luv copied to clipboard
Bare libuv bindings for lua
Hello! I am looking into trying to use luv's implementation of [`spawn`](https://github.com/luvit/luv/blob/master/docs.md#uvspawnpath-options-on_exit) but the provided sample code is unusable. When it is run (I've attached the example I am using),...
Please consider change tagging/versioning convention and replace use `-` by `.` because none of the packaging software allows use `-` in version string.
`lua -v` output: `Lua 5.4.4 Copyright (C) 1994-2022 Lua.org, PUC-Rio`. ```lua local uv = require('luv') local function setTimeout(callback, ms) local timer = uv.new_timer() timer:start(ms, 0, function() timer:stop() timer:close() callback() end)...
I am pretty sure I am missing some obvious point. How do I know that the connection was lost when writing some data to a TCP stream? I would like...
I am trying to cross compile this library for OpenWRT. In order to do this I set up a VM and installed the OpenWRT cross compile toolkit according to this...
- [x] https://github.com/luvit/luv/pull/412 [`uv_stream_get_write_queue_size`](http://docs.libuv.org/en/v1.x/stream.html#c.uv_stream_get_write_queue_size); see also the non-standard `luv` function `tcp_write_queue_size`, presumably bound before `uv_stream_get_write_queue_size` was added - [x] [`uv_loop_configure`](http://docs.libuv.org/en/v1.x/loop.html#c.uv_loop_configure) (#103, https://github.com/luvit/luv/pull/496) - [ ] [`uv_setup_args`](http://docs.libuv.org/en/v1.x/misc.html#c.uv_setup_args) (#264); I don't think...
Is there a way for embedders to get a callback on `new_thread` or `new_work`? This would be useful for for e.g. modifying `_G` in the thread's `lua_State`. It seems as...
In setting up CI with Github Actions (https://github.com/luvit/luv/pull/551), the valgrind step is reporting leaks (and I can reproduce the leaks locally). It happens with multiple tests (not sure of everything...
I've successfully installed lpeg,mpack and bit via luarocks, but when calling Install LUV it stops on linking lua.dll. ### **PKG-CONFIG --LIST-ALL** > $ pkg-config --list-all > libuv libuv - multi-platform...
Hello. Looking for a solution (or even possibility) to implement non-blocking FIFO queue with libuv. Just like that: https://gist.github.com/daurnimator/88e942022d4f3cabf57c but for luv instead of cqueues. I'm ready to pay some...