All Projects → paulran → libuv-source-analysis

paulran / libuv-source-analysis

Licence: other
libuv source analysis website

Projects that are alternatives of or similar to libuv-source-analysis

Node.pas
Asynchronous Event-driven server programming for EMB Delphi, powered by libuv.
Stars: ✭ 45 (+150%)
Mutual labels:  libuv
Stdio
Haskell Standard Input and Output
Stars: ✭ 101 (+461.11%)
Mutual labels:  libuv
Luv
Cross-platform asynchronous I/O and system calls
Stars: ✭ 203 (+1027.78%)
Mutual labels:  libuv
Uwt
libuv bindings for OCaml
Stars: ✭ 51 (+183.33%)
Mutual labels:  libuv
Hypepool
🚀 ⚡️ ✨ next-gen mining pool server software
Stars: ✭ 89 (+394.44%)
Mutual labels:  libuv
Libhv
🔥 比libevent、libuv更易用的国产网络库。A c/c++ network library for developing TCP/UDP/SSL/HTTP/WebSocket client/server.
Stars: ✭ 3,355 (+18538.89%)
Mutual labels:  libuv
Ijjs
a lightweight js runtime for IOT(一个面向物联网的JS运行时)
Stars: ✭ 38 (+111.11%)
Mutual labels:  libuv
Suravi
Suravi is a small distribution of Ravi/Lua 5.3 with batteries such as cjson, lpeglabel, luasocket, penlight, torch7, luv, luaossl
Stars: ✭ 56 (+211.11%)
Mutual labels:  libuv
Gruvi
Async IO for Python, Simplified
Stars: ✭ 96 (+433.33%)
Mutual labels:  libuv
Mirror
#1 Open Source Unity Networking Library
Stars: ✭ 2,905 (+16038.89%)
Mutual labels:  libuv
Deep Into Code
Node.js / Libuv / V8 引擎源代码学习笔记
Stars: ✭ 66 (+266.67%)
Mutual labels:  libuv
Igropyr
a async http server base on libuv for Chez Scheme
Stars: ✭ 85 (+372.22%)
Mutual labels:  libuv
Libuvsharp
.NET bindings for libuv
Stars: ✭ 170 (+844.44%)
Mutual labels:  libuv
Pyuv
Python interface for libuv
Stars: ✭ 1,046 (+5711.11%)
Mutual labels:  libuv
Luvi
A project in-between luv and luvit.
Stars: ✭ 215 (+1094.44%)
Mutual labels:  libuv
Uvloop
Ultra fast asyncio event loop.
Stars: ✭ 8,246 (+45711.11%)
Mutual labels:  libuv
Owindog
Owin Web Server(base on libuv) for asp.net or netcore
Stars: ✭ 123 (+583.33%)
Mutual labels:  libuv
ZNet
基于libuv的skynet移植
Stars: ✭ 35 (+94.44%)
Mutual labels:  libuv
Rsock
The best companion of kcptun
Stars: ✭ 242 (+1244.44%)
Mutual labels:  libuv
Shadowsocksr Native
翻墙 从容穿越党国敏感日 ShadowsocksR (SSR) native implementation for all platforms, GFW terminator
Stars: ✭ 2,328 (+12833.33%)
Mutual labels:  libuv

libuv源码分析 - 从libuv说开来 - Say it from libuv

Website: http://paulran.github.io/libuv-source-analysis
Wiki: https://github.com/paulran/libuv-source-analysis/wiki

项目目标:

  1. 在将来项目中能够使用libuv。
  2. 总结相关的知识。

分析方法:

  1. 设计者角度:多问为什么这么设计?是否还有其它设计?
  2. 用户角度:提供了哪些接口,使用流程是什么,使用测试例子调试测试,弄清数据结构的含义。

分析的线索:

  1. struct uv_loop_t 的所有成员变量的含义。
  2. 各种handle提供的接口、实现,以及它们和loop的关联。
  3. 一些辅助功能和一些细节。

libuv version 1.8.0 (Stable)

libuv-1.8.0 files for Linux
├── include
│   ├── pthread-fixes.h
│   ├── tree.h
│   ├── uv-errno.h
│   ├── uv.h
│   ├── uv-linux.h
│   ├── uv-threadpool.h
│   ├── uv-unix.h
│   └── uv-version.h
└── src
    ├── fs-poll.c
    ├── heap-inl.h
    ├── inet.c
    ├── queue.h
    ├── threadpool.c
    ├── unix
    │   ├── async.c
    │   ├── atomic-ops.h
    │   ├── core.c
    │   ├── dl.c
    │   ├── fs.c
    │   ├── getaddrinfo.c
    │   ├── getnameinfo.c
    │   ├── internal.h
    │   ├── linux-core.c
    │   ├── linux-inotify.c
    │   ├── linux-syscalls.c
    │   ├── linux-syscalls.h
    │   ├── loop.c
    │   ├── loop-watcher.c
    │   ├── pipe.c
    │   ├── poll.c
    │   ├── process.c
    │   ├── proctitle.c
    │   ├── pthread-fixes.c
    │   ├── signal.c
    │   ├── spinlock.h
    │   ├── stream.c
    │   ├── tcp.c
    │   ├── thread.c
    │   ├── timer.c
    │   ├── tty.c
    │   └── udp.c
    ├── uv-common.c
    ├── uv-common.h
    └── version.c
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].