Lines Matching refs:UV_EXTERN

34 #ifndef UV_EXTERN
39 # define UV_EXTERN __declspec(dllexport) macro
42 # define UV_EXTERN __declspec(dllimport)
45 # define UV_EXTERN /* nothing */
48 # define UV_EXTERN __attribute__((visibility("default")))
50 # define UV_EXTERN __global
52 # define UV_EXTERN /* nothing */
276 UV_EXTERN unsigned int uv_version(void);
277 UV_EXTERN const char* uv_version_string(void);
284 UV_EXTERN void uv_library_shutdown(void);
286 UV_EXTERN int uv_replace_allocator(uv_malloc_func malloc_func,
291 UV_EXTERN uv_loop_t* uv_default_loop(void);
292 UV_EXTERN int uv_loop_init(uv_loop_t* loop);
293 UV_EXTERN int uv_loop_close(uv_loop_t* loop);
299 UV_EXTERN uv_loop_t* uv_loop_new(void);
305 UV_EXTERN void uv_loop_delete(uv_loop_t*);
306 UV_EXTERN size_t uv_loop_size(void);
307 UV_EXTERN int uv_loop_alive(const uv_loop_t* loop);
308 UV_EXTERN int uv_loop_configure(uv_loop_t* loop, uv_loop_option option, ...);
309 UV_EXTERN int uv_loop_fork(uv_loop_t* loop);
311 UV_EXTERN int uv_run(uv_loop_t*, uv_run_mode mode);
312 UV_EXTERN void uv_stop(uv_loop_t*);
314 UV_EXTERN void uv_ref(uv_handle_t*);
315 UV_EXTERN void uv_unref(uv_handle_t*);
316 UV_EXTERN int uv_has_ref(const uv_handle_t*);
318 UV_EXTERN void uv_update_time(uv_loop_t*);
319 UV_EXTERN uint64_t uv_now(const uv_loop_t*);
321 UV_EXTERN int uv_backend_fd(const uv_loop_t*);
322 UV_EXTERN int uv_backend_timeout(const uv_loop_t*);
424 UV_EXTERN int uv_translate_sys_error(int sys_errno);
426 UV_EXTERN const char* uv_strerror(int err);
427 UV_EXTERN char* uv_strerror_r(int err, char* buf, size_t buflen);
429 UV_EXTERN const char* uv_err_name(int err);
430 UV_EXTERN char* uv_err_name_r(int err, char* buf, size_t buflen);
452 UV_EXTERN int uv_shutdown(uv_shutdown_t* req,
484 UV_EXTERN size_t uv_handle_size(uv_handle_type type);
485 UV_EXTERN uv_handle_type uv_handle_get_type(const uv_handle_t* handle);
486 UV_EXTERN const char* uv_handle_type_name(uv_handle_type type);
487 UV_EXTERN void* uv_handle_get_data(const uv_handle_t* handle);
488 UV_EXTERN uv_loop_t* uv_handle_get_loop(const uv_handle_t* handle);
489 UV_EXTERN void uv_handle_set_data(uv_handle_t* handle, void* data);
491 UV_EXTERN size_t uv_req_size(uv_req_type type);
492 UV_EXTERN void* uv_req_get_data(const uv_req_t* req);
493 UV_EXTERN void uv_req_set_data(uv_req_t* req, void* data);
494 UV_EXTERN uv_req_type uv_req_get_type(const uv_req_t* req);
495 UV_EXTERN const char* uv_req_type_name(uv_req_type type);
497 UV_EXTERN int uv_is_active(const uv_handle_t* handle);
499 UV_EXTERN void uv_walk(uv_loop_t* loop, uv_walk_cb walk_cb, void* arg);
502 UV_EXTERN void uv_print_all_handles(uv_loop_t* loop, FILE* stream);
503 UV_EXTERN void uv_print_active_handles(uv_loop_t* loop, FILE* stream);
505 UV_EXTERN void uv_close(uv_handle_t* handle, uv_close_cb close_cb);
507 UV_EXTERN int uv_send_buffer_size(uv_handle_t* handle, int* value);
508 UV_EXTERN int uv_recv_buffer_size(uv_handle_t* handle, int* value);
510 UV_EXTERN int uv_fileno(const uv_handle_t* handle, uv_os_fd_t* fd);
512 UV_EXTERN uv_buf_t uv_buf_init(char* base, unsigned int len);
514 UV_EXTERN int uv_pipe(uv_file fds[2], int read_flags, int write_flags);
515 UV_EXTERN int uv_socketpair(int type,
541 UV_EXTERN size_t uv_stream_get_write_queue_size(const uv_stream_t* stream);
543 UV_EXTERN int uv_listen(uv_stream_t* stream, int backlog, uv_connection_cb cb);
544 UV_EXTERN int uv_accept(uv_stream_t* server, uv_stream_t* client);
546 UV_EXTERN int uv_read_start(uv_stream_t*,
549 UV_EXTERN int uv_read_stop(uv_stream_t*);
551 UV_EXTERN int uv_write(uv_write_t* req,
556 UV_EXTERN int uv_write2(uv_write_t* req,
562 UV_EXTERN int uv_try_write(uv_stream_t* handle,
565 UV_EXTERN int uv_try_write2(uv_stream_t* handle,
580 UV_EXTERN int uv_is_readable(const uv_stream_t* handle);
581 UV_EXTERN int uv_is_writable(const uv_stream_t* handle);
583 UV_EXTERN int uv_stream_set_blocking(uv_stream_t* handle, int blocking);
585 UV_EXTERN int uv_is_closing(const uv_handle_t* handle);
599 UV_EXTERN int uv_tcp_init(uv_loop_t*, uv_tcp_t* handle);
600 UV_EXTERN int uv_tcp_init_ex(uv_loop_t*, uv_tcp_t* handle, unsigned int flags);
601 UV_EXTERN int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock);
602 UV_EXTERN int uv_tcp_nodelay(uv_tcp_t* handle, int enable);
603 UV_EXTERN int uv_tcp_keepalive(uv_tcp_t* handle,
606 UV_EXTERN int uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable);
624 UV_EXTERN int uv_tcp_bind(uv_tcp_t* handle,
627 UV_EXTERN int uv_tcp_getsockname(const uv_tcp_t* handle,
630 UV_EXTERN int uv_tcp_getpeername(const uv_tcp_t* handle,
633 UV_EXTERN int uv_tcp_close_reset(uv_tcp_t* handle, uv_close_cb close_cb);
634 UV_EXTERN int uv_tcp_connect(uv_connect_t* req,
740 UV_EXTERN int uv_udp_init(uv_loop_t*, uv_udp_t* handle);
741 UV_EXTERN int uv_udp_init_ex(uv_loop_t*, uv_udp_t* handle, unsigned int flags);
742 UV_EXTERN int uv_udp_open(uv_udp_t* handle, uv_os_sock_t sock);
743 UV_EXTERN int uv_udp_bind(uv_udp_t* handle,
746 UV_EXTERN int uv_udp_connect(uv_udp_t* handle, const struct sockaddr* addr);
748 UV_EXTERN int uv_udp_getpeername(const uv_udp_t* handle,
751 UV_EXTERN int uv_udp_getsockname(const uv_udp_t* handle,
754 UV_EXTERN int uv_udp_set_membership(uv_udp_t* handle,
758 UV_EXTERN int uv_udp_set_source_membership(uv_udp_t* handle,
763 UV_EXTERN int uv_udp_set_multicast_loop(uv_udp_t* handle, int on);
764 UV_EXTERN int uv_udp_set_multicast_ttl(uv_udp_t* handle, int ttl);
765 UV_EXTERN int uv_udp_set_multicast_interface(uv_udp_t* handle,
767 UV_EXTERN int uv_udp_set_broadcast(uv_udp_t* handle, int on);
768 UV_EXTERN int uv_udp_set_ttl(uv_udp_t* handle, int ttl);
769 UV_EXTERN int uv_udp_send(uv_udp_send_t* req,
775 UV_EXTERN int uv_udp_try_send(uv_udp_t* handle,
779 UV_EXTERN int uv_udp_recv_start(uv_udp_t* handle,
782 UV_EXTERN int uv_udp_using_recvmmsg(const uv_udp_t* handle);
783 UV_EXTERN int uv_udp_recv_stop(uv_udp_t* handle);
784 UV_EXTERN size_t uv_udp_get_send_queue_size(const uv_udp_t* handle);
785 UV_EXTERN size_t uv_udp_get_send_queue_count(const uv_udp_t* handle);
821 UV_EXTERN int uv_tty_init(uv_loop_t*, uv_tty_t*, uv_file fd, int readable);
822 UV_EXTERN int uv_tty_set_mode(uv_tty_t*, uv_tty_mode_t mode);
823 UV_EXTERN int uv_tty_reset_mode(void);
824 UV_EXTERN int uv_tty_get_winsize(uv_tty_t*, int* width, int* height);
825 UV_EXTERN void uv_tty_set_vterm_state(uv_tty_vtermstate_t state);
826 UV_EXTERN int uv_tty_get_vterm_state(uv_tty_vtermstate_t* state);
838 UV_EXTERN uv_handle_type uv_guess_handle(uv_file file);
857 UV_EXTERN int uv_pipe_init(uv_loop_t*, uv_pipe_t* handle, int ipc);
858 UV_EXTERN int uv_pipe_open(uv_pipe_t*, uv_file file);
859 UV_EXTERN int uv_pipe_bind(uv_pipe_t* handle, const char* name);
860 UV_EXTERN int uv_pipe_bind2(uv_pipe_t* handle,
864 UV_EXTERN void uv_pipe_connect(uv_connect_t* req,
868 UV_EXTERN int uv_pipe_connect2(uv_connect_t* req,
874 UV_EXTERN int uv_pipe_getsockname(const uv_pipe_t* handle,
877 UV_EXTERN int uv_pipe_getpeername(const uv_pipe_t* handle,
880 UV_EXTERN void uv_pipe_pending_instances(uv_pipe_t* handle, int count);
881 UV_EXTERN int uv_pipe_pending_count(uv_pipe_t* handle);
882 UV_EXTERN uv_handle_type uv_pipe_pending_type(uv_pipe_t* handle);
883 UV_EXTERN int uv_pipe_chmod(uv_pipe_t* handle, int flags);
899 UV_EXTERN int uv_poll_init(uv_loop_t* loop, uv_poll_t* handle, int fd);
900 UV_EXTERN int uv_poll_init_socket(uv_loop_t* loop,
903 UV_EXTERN int uv_poll_start(uv_poll_t* handle, int events, uv_poll_cb cb);
904 UV_EXTERN int uv_poll_stop(uv_poll_t* handle);
912 UV_EXTERN int uv_prepare_init(uv_loop_t*, uv_prepare_t* prepare);
913 UV_EXTERN int uv_prepare_start(uv_prepare_t* prepare, uv_prepare_cb cb);
914 UV_EXTERN int uv_prepare_stop(uv_prepare_t* prepare);
922 UV_EXTERN int uv_check_init(uv_loop_t*, uv_check_t* check);
923 UV_EXTERN int uv_check_start(uv_check_t* check, uv_check_cb cb);
924 UV_EXTERN int uv_check_stop(uv_check_t* check);
932 UV_EXTERN int uv_idle_init(uv_loop_t*, uv_idle_t* idle);
933 UV_EXTERN int uv_idle_start(uv_idle_t* idle, uv_idle_cb cb);
934 UV_EXTERN int uv_idle_stop(uv_idle_t* idle);
942 UV_EXTERN int uv_async_init(uv_loop_t*,
945 UV_EXTERN int uv_async_send(uv_async_t* async);
958 UV_EXTERN int uv_timer_init(uv_loop_t*, uv_timer_t* handle);
959 UV_EXTERN int uv_timer_start(uv_timer_t* handle,
963 UV_EXTERN int uv_timer_stop(uv_timer_t* handle);
964 UV_EXTERN int uv_timer_again(uv_timer_t* handle);
965 UV_EXTERN void uv_timer_set_repeat(uv_timer_t* handle, uint64_t repeat);
966 UV_EXTERN uint64_t uv_timer_get_repeat(const uv_timer_t* handle);
967 UV_EXTERN uint64_t uv_timer_get_due_in(const uv_timer_t* handle);
984 UV_EXTERN int uv_getaddrinfo(uv_loop_t* loop,
990 UV_EXTERN void uv_freeaddrinfo(struct addrinfo* ai);
1006 UV_EXTERN int uv_getnameinfo(uv_loop_t* loop,
1158 UV_EXTERN int uv_spawn(uv_loop_t* loop,
1161 UV_EXTERN int uv_process_kill(uv_process_t*, int signum);
1162 UV_EXTERN int uv_kill(int pid, int signum);
1163 UV_EXTERN uv_pid_t uv_process_get_pid(const uv_process_t*);
1177 UV_EXTERN int uv_queue_work(uv_loop_t* loop,
1182 UV_EXTERN int uv_cancel(uv_req_t* req);
1264 UV_EXTERN char** uv_setup_args(int argc, char** argv);
1265 UV_EXTERN int uv_get_process_title(char* buffer, size_t size);
1266 UV_EXTERN int uv_set_process_title(const char* title);
1267 UV_EXTERN int uv_resident_set_memory(size_t* rss);
1268 UV_EXTERN int uv_uptime(double* uptime);
1269 UV_EXTERN uv_os_fd_t uv_get_osfhandle(int fd);
1270 UV_EXTERN int uv_open_osfhandle(uv_os_fd_t os_fd);
1291 UV_EXTERN int uv_getrusage(uv_rusage_t* rusage);
1293 UV_EXTERN int uv_os_homedir(char* buffer, size_t* size);
1294 UV_EXTERN int uv_os_tmpdir(char* buffer, size_t* size);
1295 UV_EXTERN int uv_os_get_passwd(uv_passwd_t* pwd);
1296 UV_EXTERN void uv_os_free_passwd(uv_passwd_t* pwd);
1297 UV_EXTERN int uv_os_get_passwd2(uv_passwd_t* pwd, uv_uid_t uid);
1298 UV_EXTERN int uv_os_get_group(uv_group_t* grp, uv_uid_t gid);
1299 UV_EXTERN void uv_os_free_group(uv_group_t* grp);
1300 UV_EXTERN uv_pid_t uv_os_getpid(void);
1301 UV_EXTERN uv_pid_t uv_os_getppid(void);
1320 UV_EXTERN int uv_os_getpriority(uv_pid_t pid, int* priority);
1321 UV_EXTERN int uv_os_setpriority(uv_pid_t pid, int priority);
1331 UV_EXTERN int uv_thread_getpriority(uv_thread_t tid, int* priority);
1332 UV_EXTERN int uv_thread_setpriority(uv_thread_t tid, int priority);
1334 UV_EXTERN unsigned int uv_available_parallelism(void);
1335 UV_EXTERN int uv_cpu_info(uv_cpu_info_t** cpu_infos, int* count);
1336 UV_EXTERN void uv_free_cpu_info(uv_cpu_info_t* cpu_infos, int count);
1337 UV_EXTERN int uv_cpumask_size(void);
1339 UV_EXTERN int uv_interface_addresses(uv_interface_address_t** addresses,
1341 UV_EXTERN void uv_free_interface_addresses(uv_interface_address_t* addresses,
1349 UV_EXTERN int uv_os_environ(uv_env_item_t** envitems, int* count);
1350 UV_EXTERN void uv_os_free_environ(uv_env_item_t* envitems, int count);
1351 UV_EXTERN int uv_os_getenv(const char* name, char* buffer, size_t* size);
1352 UV_EXTERN int uv_os_setenv(const char* name, const char* value);
1353 UV_EXTERN int uv_os_unsetenv(const char* name);
1366 UV_EXTERN int uv_os_gethostname(char* buffer, size_t* size);
1368 UV_EXTERN int uv_os_uname(uv_utsname_t* buffer);
1378 UV_EXTERN int uv_metrics_info(uv_loop_t* loop, uv_metrics_t* metrics);
1379 UV_EXTERN uint64_t uv_metrics_idle_time(uv_loop_t* loop);
1442 UV_EXTERN uv_fs_type uv_fs_get_type(const uv_fs_t*);
1443 UV_EXTERN ssize_t uv_fs_get_result(const uv_fs_t*);
1444 UV_EXTERN int uv_fs_get_system_error(const uv_fs_t*);
1445 UV_EXTERN void* uv_fs_get_ptr(const uv_fs_t*);
1446 UV_EXTERN const char* uv_fs_get_path(const uv_fs_t*);
1447 UV_EXTERN uv_stat_t* uv_fs_get_statbuf(uv_fs_t*);
1449 UV_EXTERN void uv_fs_req_cleanup(uv_fs_t* req);
1450 UV_EXTERN int uv_fs_close(uv_loop_t* loop,
1454 UV_EXTERN int uv_fs_open(uv_loop_t* loop,
1460 UV_EXTERN int uv_fs_read(uv_loop_t* loop,
1467 UV_EXTERN int uv_fs_unlink(uv_loop_t* loop,
1471 UV_EXTERN int uv_fs_write(uv_loop_t* loop,
1496 UV_EXTERN int uv_fs_copyfile(uv_loop_t* loop,
1502 UV_EXTERN int uv_fs_mkdir(uv_loop_t* loop,
1507 UV_EXTERN int uv_fs_mkdtemp(uv_loop_t* loop,
1511 UV_EXTERN int uv_fs_mkstemp(uv_loop_t* loop,
1515 UV_EXTERN int uv_fs_rmdir(uv_loop_t* loop,
1519 UV_EXTERN int uv_fs_scandir(uv_loop_t* loop,
1524 UV_EXTERN int uv_fs_scandir_next(uv_fs_t* req,
1526 UV_EXTERN int uv_fs_opendir(uv_loop_t* loop,
1530 UV_EXTERN int uv_fs_readdir(uv_loop_t* loop,
1534 UV_EXTERN int uv_fs_closedir(uv_loop_t* loop,
1538 UV_EXTERN int uv_fs_stat(uv_loop_t* loop,
1542 UV_EXTERN int uv_fs_fstat(uv_loop_t* loop,
1546 UV_EXTERN int uv_fs_rename(uv_loop_t* loop,
1551 UV_EXTERN int uv_fs_fsync(uv_loop_t* loop,
1555 UV_EXTERN int uv_fs_fdatasync(uv_loop_t* loop,
1559 UV_EXTERN int uv_fs_ftruncate(uv_loop_t* loop,
1564 UV_EXTERN int uv_fs_sendfile(uv_loop_t* loop,
1571 UV_EXTERN int uv_fs_access(uv_loop_t* loop,
1576 UV_EXTERN int uv_fs_chmod(uv_loop_t* loop,
1581 UV_EXTERN int uv_fs_utime(uv_loop_t* loop,
1587 UV_EXTERN int uv_fs_futime(uv_loop_t* loop,
1593 UV_EXTERN int uv_fs_lutime(uv_loop_t* loop,
1599 UV_EXTERN int uv_fs_lstat(uv_loop_t* loop,
1603 UV_EXTERN int uv_fs_link(uv_loop_t* loop,
1621 UV_EXTERN int uv_fs_symlink(uv_loop_t* loop,
1627 UV_EXTERN int uv_fs_readlink(uv_loop_t* loop,
1631 UV_EXTERN int uv_fs_realpath(uv_loop_t* loop,
1635 UV_EXTERN int uv_fs_fchmod(uv_loop_t* loop,
1640 UV_EXTERN int uv_fs_chown(uv_loop_t* loop,
1646 UV_EXTERN int uv_fs_fchown(uv_loop_t* loop,
1652 UV_EXTERN int uv_fs_lchown(uv_loop_t* loop,
1658 UV_EXTERN int uv_fs_statfs(uv_loop_t* loop,
1687 UV_EXTERN int uv_fs_poll_init(uv_loop_t* loop, uv_fs_poll_t* handle);
1688 UV_EXTERN int uv_fs_poll_start(uv_fs_poll_t* handle,
1692 UV_EXTERN int uv_fs_poll_stop(uv_fs_poll_t* handle);
1693 UV_EXTERN int uv_fs_poll_getpath(uv_fs_poll_t* handle,
1705 UV_EXTERN int uv_signal_init(uv_loop_t* loop, uv_signal_t* handle);
1706 UV_EXTERN int uv_signal_start(uv_signal_t* handle,
1709 UV_EXTERN int uv_signal_start_oneshot(uv_signal_t* handle,
1712 UV_EXTERN int uv_signal_stop(uv_signal_t* handle);
1714 UV_EXTERN void uv_loadavg(double avg[3]);
1748 UV_EXTERN int uv_fs_event_init(uv_loop_t* loop, uv_fs_event_t* handle);
1749 UV_EXTERN int uv_fs_event_start(uv_fs_event_t* handle,
1753 UV_EXTERN int uv_fs_event_stop(uv_fs_event_t* handle);
1754 UV_EXTERN int uv_fs_event_getpath(uv_fs_event_t* handle,
1758 UV_EXTERN int uv_ip4_addr(const char* ip, int port, struct sockaddr_in* addr);
1759 UV_EXTERN int uv_ip6_addr(const char* ip, int port, struct sockaddr_in6* addr);
1761 UV_EXTERN int uv_ip4_name(const struct sockaddr_in* src, char* dst, size_t size);
1762 UV_EXTERN int uv_ip6_name(const struct sockaddr_in6* src, char* dst, size_t size);
1763 UV_EXTERN int uv_ip_name(const struct sockaddr* src, char* dst, size_t size);
1765 UV_EXTERN int uv_inet_ntop(int af, const void* src, char* dst, size_t size);
1766 UV_EXTERN int uv_inet_pton(int af, const char* src, void* dst);
1781 UV_EXTERN int uv_random(uv_loop_t* loop,
1796 UV_EXTERN int uv_if_indextoname(unsigned int ifindex,
1799 UV_EXTERN int uv_if_indextoiid(unsigned int ifindex,
1803 UV_EXTERN int uv_exepath(char* buffer, size_t* size);
1805 UV_EXTERN int uv_cwd(char* buffer, size_t* size);
1807 UV_EXTERN int uv_chdir(const char* dir);
1809 UV_EXTERN uint64_t uv_get_free_memory(void);
1810 UV_EXTERN uint64_t uv_get_total_memory(void);
1811 UV_EXTERN uint64_t uv_get_constrained_memory(void);
1812 UV_EXTERN uint64_t uv_get_available_memory(void);
1814 UV_EXTERN int uv_clock_gettime(uv_clock_id clock_id, uv_timespec64_t* ts);
1815 UV_EXTERN uint64_t uv_hrtime(void);
1816 UV_EXTERN void uv_sleep(unsigned int msec);
1818 UV_EXTERN void uv_disable_stdio_inheritance(void);
1820 UV_EXTERN int uv_dlopen(const char* filename, uv_lib_t* lib);
1821 UV_EXTERN void uv_dlclose(uv_lib_t* lib);
1822 UV_EXTERN int uv_dlsym(uv_lib_t* lib, const char* name, void** ptr);
1823 UV_EXTERN const char* uv_dlerror(const uv_lib_t* lib);
1825 UV_EXTERN int uv_mutex_init(uv_mutex_t* handle);
1826 UV_EXTERN int uv_mutex_init_recursive(uv_mutex_t* handle);
1827 UV_EXTERN void uv_mutex_destroy(uv_mutex_t* handle);
1828 UV_EXTERN void uv_mutex_lock(uv_mutex_t* handle);
1829 UV_EXTERN int uv_mutex_trylock(uv_mutex_t* handle);
1830 UV_EXTERN void uv_mutex_unlock(uv_mutex_t* handle);
1832 UV_EXTERN int uv_rwlock_init(uv_rwlock_t* rwlock);
1833 UV_EXTERN void uv_rwlock_destroy(uv_rwlock_t* rwlock);
1834 UV_EXTERN void uv_rwlock_rdlock(uv_rwlock_t* rwlock);
1835 UV_EXTERN int uv_rwlock_tryrdlock(uv_rwlock_t* rwlock);
1836 UV_EXTERN void uv_rwlock_rdunlock(uv_rwlock_t* rwlock);
1837 UV_EXTERN void uv_rwlock_wrlock(uv_rwlock_t* rwlock);
1838 UV_EXTERN int uv_rwlock_trywrlock(uv_rwlock_t* rwlock);
1839 UV_EXTERN void uv_rwlock_wrunlock(uv_rwlock_t* rwlock);
1841 UV_EXTERN int uv_sem_init(uv_sem_t* sem, unsigned int value);
1842 UV_EXTERN void uv_sem_destroy(uv_sem_t* sem);
1843 UV_EXTERN void uv_sem_post(uv_sem_t* sem);
1844 UV_EXTERN void uv_sem_wait(uv_sem_t* sem);
1845 UV_EXTERN int uv_sem_trywait(uv_sem_t* sem);
1847 UV_EXTERN int uv_cond_init(uv_cond_t* cond);
1848 UV_EXTERN void uv_cond_destroy(uv_cond_t* cond);
1849 UV_EXTERN void uv_cond_signal(uv_cond_t* cond);
1850 UV_EXTERN void uv_cond_broadcast(uv_cond_t* cond);
1852 UV_EXTERN int uv_barrier_init(uv_barrier_t* barrier, unsigned int count);
1853 UV_EXTERN void uv_barrier_destroy(uv_barrier_t* barrier);
1854 UV_EXTERN int uv_barrier_wait(uv_barrier_t* barrier);
1856 UV_EXTERN void uv_cond_wait(uv_cond_t* cond, uv_mutex_t* mutex);
1857 UV_EXTERN int uv_cond_timedwait(uv_cond_t* cond,
1861 UV_EXTERN void uv_once(uv_once_t* guard, void (*callback)(void));
1863 UV_EXTERN int uv_key_create(uv_key_t* key);
1864 UV_EXTERN void uv_key_delete(uv_key_t* key);
1865 UV_EXTERN void* uv_key_get(uv_key_t* key);
1866 UV_EXTERN void uv_key_set(uv_key_t* key, void* value);
1868 UV_EXTERN int uv_gettimeofday(uv_timeval64_t* tv);
1872 UV_EXTERN int uv_thread_create(uv_thread_t* tid, uv_thread_cb entry, void* arg);
1887 UV_EXTERN int uv_thread_create_ex(uv_thread_t* tid,
1891 UV_EXTERN int uv_thread_setaffinity(uv_thread_t* tid,
1895 UV_EXTERN int uv_thread_getaffinity(uv_thread_t* tid,
1898 UV_EXTERN int uv_thread_getcpu(void);
1899 UV_EXTERN uv_thread_t uv_thread_self(void);
1900 UV_EXTERN int uv_thread_join(uv_thread_t *tid);
1901 UV_EXTERN int uv_thread_equal(const uv_thread_t* t1, const uv_thread_t* t2);
1932 UV_EXTERN void* uv_loop_get_data(const uv_loop_t*);
1933 UV_EXTERN void uv_loop_set_data(uv_loop_t*, void* data);
1936 UV_EXTERN size_t uv_utf16_length_as_wtf8(const uint16_t* utf16,
1938 UV_EXTERN int uv_utf16_to_wtf8(const uint16_t* utf16,
1942 UV_EXTERN ssize_t uv_wtf8_length_as_utf16(const char* wtf8);
1943 UV_EXTERN void uv_wtf8_to_utf16(const char* wtf8,