In the context of node-gtk, I need acces to the uv_backend_fd() value. On the microsoft windows operating system, the current version of libuv doesn't return an appropriate value. The master branch of libuv however contains what is neede...
uv__platform_loop_delete(loop); uv__async_stop(loop);if(loop->emfile_fd !=-1) { uv__close(loop->emfile_fd); loop->emfile_fd =-1; }if(loop->backend_fd !=-1) { uv__close(loop->backend_fd); loop->backend_fd =-1; } uv_mutex_lock(&loop->wq_mutex); assert(QUEUE_EMPTY(...
UV_EXTERN int uv_backend_fd(const uv_loop_t*); /* * Get the poll timeout. The return value is in milliseconds, or -1 for no * timeout. */ UV_EXTERN int uv_backend_timeout(const uv_loop_t*); /* * Should prepare a buffer that libuv can use to read data into. * * `sugge...
接下来在 src/unix/uv-unix.h 的 uv_loop_t 里面加入一个条件变量和一个互斥量: # define UV_LOOP_PRIVATE_FIELDS \unsigned long flags; \int backend_fd; \void* pending_queue[2]; \void* watcher_queue[2]; \uv__io_t** watchers; \#ifdef __FREERTOS__ \uv_mutex_t poll_mutex; \uv_co...
}if(loop->backend_fd !=-1) {uv__close(loop->backend_fd); loop->backend_fd =-1; } } 开发者ID:0x20c24,项目名称:cjdns,代码行数:11,代码来源:sunos.c 示例4: uv__async_stop ▲点赞 1▼ voiduv__async_stop(uv_loop_t* loop, struct uv__async* wa){if(wa->io_watcher.fd ==-...
UV_EXTERN int uv_backend_fd(const uv_loop_t*); UV_EXTERN int uv_backend_timeout(const uv_loop_t*); typedef void (*uv_alloc_cb)(uv_handle_t* handle, size_t suggested_size, uv_buf_t* buf); typedef void (*uv_read_cb)(uv_stream_t* stream, ssize_t nread, const uv...
uv-build-backend = { path = "crates/uv-build-backend" } uv-build-frontend = { path = "crates/uv-build-frontend" } uv-cache = { path = "crates/uv-cache" } uv-cache-info = { path = "crates/uv-cache-info" } uv-cache-key = { path = "crates/uv-cache-key" } uv-cl...
Hence, backend processes including substrate lapping and laser scribing to obtain mirror-finish facets pose many technical challenges to complete laser fabrication [98,99]. One sometimes breaks processed lasers and polishes the cavity-ends to obtain high-quality facets, which, however, increases ...
succeed, which is not true in case the backend has mapped the granted page between those two operations. As a result the backend can keep access to the memory page of the guest no matter how the page will be used after the frontend I/O has finished. The xenbus driver has a ...
基本信息 发布日期:2019-05-13(官方当地时间) 更新类型:普通更新 更新版本:Git v2.22.0-rc0 感知时间:2019-12-12 22:06:08 风险等级:未知 情报贡献:TSRC 来源链接 https://public-inbox.org/git/xmqqef52baih.fsf@gitster-ct.c.googlers.com/ ...