No description or website provided.
C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
CMakeLists.txt
LICENSE.txt
README.md

README.md

Description

The Code demonstratates several ideas.

  1. Communication between caller code and an event loop through a lock free queue. This eliminates the need for intrusive fine-grain locking.
  2. The implementation of futures/promises through by way of a condition variable.
  3. Exposing a library implemented in C++ through a clean C interface. This eliminates most ABI issues, and makes the library easy to embed in other languages.
  4. Cool nerd points for lock free implementations of MPSC and SPSC queues.

Dependencies

  • libuv
  • C++11

Building

cmake -DCMAKE_BUILD_TYPE=Debug && make && ./build/bin/libuv-test