Skip to content

issuu/thread-pool-async

Repository files navigation

Thread_pool

Build Status

Creates an async thread pool so your blocking calls are contained in threads.

Dependencies

  • OPAM 2
  • dune-release (for releases)

Usage

It is a normal dune project, can be built in all normal ways dune software can be built. The make help command provides a list of possibly useful actions.

Release process

Releasing a new version is handled by dune-release, check the Mirage instructions on their packaging process.

  1. Write changelog entry
  2. make tag to tag the repository locally
  3. make distrib to create a release tarball
  4. make publish to push the tag and create a GitHub release, upload the tarball and set the changelog.

The publish step requires access to a personal API token on GitHub that has the repo scope. Possibly only public_repo but it is a bit unclear.