Split code into modules, handle USR1, minor fixes.
authorJustin Wind <justin.wind@gmail.com>
Thu, 21 Feb 2013 01:33:57 +0000 (17:33 -0800)
committerJustin Wind <justin.wind@gmail.com>
Fri, 22 Feb 2013 02:30:14 +0000 (18:30 -0800)
commitc0224807bccbd7e71e312fb4151378bff4f5a5db
treed73d3aba506d529c4fffa925909563cb4f2c8b71
parent4fccfc8fc60e56a5c09648e3914250f0312a0b5b
Split code into modules, handle USR1, minor fixes.

Dump current reservoir buffers eventually after receiving USR1 signal.
buf_t, reservoir_t, and randomness now each have their own respective modules.
Reads and writes are now EINTR safe.
Randomness source now defaults to system PRNG.
Reservoirs might now be growable -- implmented but untested.
Makefile
README.md [new file with mode: 0644]
buf.c [new file with mode: 0644]
buf.h [new file with mode: 0644]
randomness.c [new file with mode: 0644]
randomness.h [new file with mode: 0644]
reservoir.c [new file with mode: 0644]
reservoir.h [new file with mode: 0644]
reservoir_sample.c