• Stars
    star
    8
  • Rank 2,099,232 (Top 42 %)
  • Language
    Erlang
  • Created almost 10 years ago
  • Updated almost 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tiny simple blocking queue in erlang

Ebqueue - Simplest Blocking Unbounded Queue in Erlang

Usage

% create a queue
{ok, Q} = ebqueue:start_link().

% add some elements

ebqueue:in({xxx, 123}, Q).
ebqueue:in({yyy, 456}, Q).

% read from the queue
{ok, Element} = ebqueue:out(Q).

% read from queue with timeout
case ebqueue:out(Q, 1000) of
    timeout -> io:format("Timed out.");
    {ok, E} -> io:format("Got element ~p", [E])
end.

More Repositories

1

opium

Sinatra like web toolkit for OCaml
OCaml
750
star
2

ocaml-mustache

mustache.js logic-less templates in OCaml
OCaml
82
star
3

curly

Command line curl wrapper for OCaml
OCaml
43
star
4

onanomsg

nanomsg bindings for ocaml
OCaml
38
star
5

vim-operator-gsearch

Vim operator to search using Ag/Ack/CtrlSF/Ggrep/etc.
Vim Script
31
star
6

lev

Low Level Bindings to Libev
OCaml
29
star
7

humane-re

The human friendly interface to ocaml-re
OCaml
25
star
8

bencode

Bencode (.torrent file format) reader/writer in OCaml
OCaml
23
star
9

stringext

Extra string functions for OCaml
OCaml
21
star
10

ppx_getenv2

Sample ppx to demo making, testing, and packaging a simple ppx rewriter
OCaml
18
star
11

ocaml-hamt

Mirror of: http://gitorious.org/ocaml-hamt/ocaml-hamt
OCaml
13
star
12

ocaml-mtl

Monad Transformers Library for OCaml
OCaml
11
star
13

ranger

OCaml library for creating efficient ranges out of indexed data structures (arrays, strings, etc.)
OCaml
11
star
14

async-zmq

Async wrapper around ocaml-zmq
OCaml
11
star
15

n2omegle

Tiny omegle clone using n2o
Erlang
10
star
16

opam-lock

Dump/restore opam dependencies using a lock file
OCaml
9
star
17

ocamlbuild-atdgen

ocamlbuild plugin for atdgen
OCaml
9
star
18

json-derivers

Common derviers for the Yojson and Ezjsonm json types
OCaml
8
star
19

ocaml-json-benchmark

benchmarking OCaml json libraries
OCaml
8
star
20

evil-quick-diff

linediff.vim for evil
Emacs Lisp
8
star
21

deriving-slowly

See http://rgrinberg.com/posts/deriving-slowly/
OCaml
8
star
22

ocaml-depgraph

Generate a dot graph from your OCaml sources
OCaml
7
star
23

opam-hub

Opam + Github = <3
OCaml
6
star
24

async-mvar

Port of Lwt_mvar to Async
OCaml
6
star
25

ocaml-fileio

A demo of dune's virtual libraries
OCaml
6
star
26

ocaml-diffbot

OCaml client for the diffbot api
OCaml
6
star
27

mix_ctags

Mix task to generate tags file using ctags for Elixir
Elixir
6
star
28

ackdo-reloaded

The companion to sed and ack/grep/ag
OCaml
5
star
29

obeanstalk

async beanstalkd client for OCaml
OCaml
5
star
30

exjsonrpc

Jsonrpc 2.0 in Elixir
Elixir
5
star
31

ocamlnet

Mirror of ocamlnet
OCaml
3
star
32

ocaml-pgn

OCaml library for parsing pgn files
OCaml
3
star
33

bruda-prolog

Stefan Bruda's Prolog mode for Emacs
Emacs Lisp
3
star
34

xxh

OCaml Bindings to xxHash
C
3
star
35

otags

OPAMified mirror of http://askra.de/software/otags/
OCaml
3
star
36

opam.vim

Vim plugin for OPAM
Vim Script
2
star
37

ngram-rps-predictor

Hierarchical Ngram Predictor
OCaml
2
star
38

flask-gevent-omegle

A little omegle clone in gevent/flask/websockets
Python
2
star
39

ocamlbuild-piqi

OCaml
2
star
40

randomknapsack

Example of approximation to knapsack problem using random hill climbing in the context of generating a playlist of a certain length from a library of songs.
OCaml
2
star
41

cohttp-serve

SimpleHTTPServer replacement in OCaml.
OCaml
1
star
42

chess.com-scraper

Chess.com scraper for games/players
Ruby
1
star
43

jbuilder-c-stubs

C
1
star
44

ackdo

sed ack ouput and write the result
OCaml
1
star
45

logarion

A blog server for Yamado articles
OCaml
1
star
46

batteries-optparse

Batteries getopt style command line parsing library
OCaml
1
star
47

FlexArray

Simple OCaml library for flexible and functional arrays
OCaml
1
star
48

async-ssl-leak

OCaml
1
star
49

edebug-hydra

Hydra shortcuts for Edebug
Emacs Lisp
1
star