핸들은 활성 상태에서 특정 작업을 수행 할 수있는 수명이 긴(long-lived) 개체
Libuv Prepared HandleLibuv TCP Server Handle/* Handle types. */ typedef struct uv_loop_s uv_loop_t; typedef struct uv_handle_s uv_handle_t; typedef struct uv_dir_s uv_dir_t; typedef struct uv_stream_s uv_stream_t; typedef struct uv_tcp_s uv_tcp_t; typedef struct uv_udp_s uv_udp_t; typedef struct uv_pipe_s uv_pipe_t; typedef struct uv_tty_s uv_tty_t; typedef struct uv_poll_s uv_poll_t; typedef struct uv_timer_s uv_timer_t; typedef struct uv_prepare_s uv_prepare_t; typedef struct uv_check_s uv_check_t; typedef struct uv_idle_s uv_idle_t; typedef struct uv_async_s uv_async_t; typedef struct uv_process_s uv_process_t; typedef struct uv_fs_event_s uv_fs_event_t; typedef struct uv_fs_poll_s uv_fs_poll_t; typedef struct uv_signal_s uv_signal_t;
[node.js] libuv 디자인과 libuv 동작시켜보기
이벤트 루프는 다소 일반적인 단일 스레드 비동기 I/O 접근 방식을 따릅니다. 모든 (네트워크) I/O는 주어진 플랫폼에서 사용할 수있는 최상의 메커니즘을 사용하여 폴링되는 비 차단 소켓에서 수행됩니다. Linux의 epoll , OSX의 및 기타 BSD, SunOS의 이벤트 포트 및 Windows의 kqueue .
https://m.blog.naver.com/pjt3591oo/222339028273

Seonglae Cho