README.md 1.24 KB
Newer Older
1 2
# p1_utils

3 4
[![Build Status](https://travis-ci.org/processone/p1_utils.svg?branch=master)](https://travis-ci.org/processone/p1_utils) [![Coverage Status](https://coveralls.io/repos/processone/p1_utils/badge.svg?branch=master&service=github)](https://coveralls.io/github/processone/p1_utils?branch=master) [![Hex version](https://img.shields.io/hexpm/v/p1_utils.svg "Hex version")](https://hex.pm/packages/p1_utils)

5 6 7 8 9 10
p1_utils is an application containing ProcessOne modules and tools that are leveraged in other development projects:

* `p1_fsm` and `p1_server` are drop-in replacements of Erlang gen_fsm and gen_server, offering extra option for better 
  reliability in production. They support mostly priority messages and message queue length controls.
* `p1_nif_utils` is an helper utilities for handling NIF code.
* `treap` is a treap algorithm implementation. It is a randomized binary search tree. See: https://en.wikipedia.org/wiki/Treap
11 12
* `p1_time_compat` is a module to ease support and migration of Erlang
  time management function from Erlang R16/R17 to Erlang R18.
13 14
* `p1_http` is an http client which provides a common API for inets / lhttpc / ibrowse
 
15

16
If you have `rebar` binary, you can generate `p1_utils` documentation by running `rebar3 edoc`.