Skip to content
Alexander Belopolsky edited this page Sep 30, 2017 · 14 revisions

Async Notes

Libuv sample code

The source distribution of libuv comes with a test test-embed.c demonstrating how to embed a libuv event loop in another loop.

Overview

The sample app has three main components:

  1. An external loop;
  2. The embed thread; and
  3. The embed_async task.

Clone this wiki locally