サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
体力トレーニング
nikhilm.github.io
An Introduction to libuv Table of Contents Contents :: Introduction » Table of Contents¶ Introduction Who this book is for Background Code Basics of libuv Event loops Hello World Error handling Handles and Requests Filesystem Reading/Writing files Filesystem operations Buffers and Streams File change events Networking TCP UDP Querying DNS Network interfaces Threads Core thread operations Synchron
Networking¶ Networking in libuv is not much different from directly using the BSD socket interface, some things are easier, all are non-blocking, but the concepts stay the same. In addition libuv offers utility functions to abstract the annoying, repetitive and low-level tasks like setting up sockets using the BSD socket structures, DNS lookup, and tweaking various socket parameters. The uv_tcp_t
Introduction¶ This ‘book’ is a small set of tutorials about using libuv as a high performance evented I/O library which offers the same API on Windows and Unix. It is meant to cover the main areas of libuv, but is not a comprehensive reference discussing every function and data structure. The official libuv documentation may be consulted for full details. This book is still a work in progress, so
Threads¶ Wait a minute? Why are we on threads? Aren’t event loops supposed to be the way to do web-scale programming? Well... no. Threads are still the medium in which processors do their jobs. Threads are therefore mighty useful sometimes, even though you might have to wade through various synchronization primitives. Threads are used internally to fake the asynchronous nature of all of the system
このページを最初にブックマークしてみませんか?
『nikhilm.github.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く