Don't forget to ship src/pthr.h in 'make dist' generated tarballs.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
test/Makefile.am: Include dependencies for all test programs.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Deprecate iv_validate_now().

Instead of making the user call iv_validate_now() every time iv_now is
used, just do the time validation in __iv_now_location() instead.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Guard against multiple inclusion of mutex.h and pthr.h.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
iv_event: Get rid of iv_tls usage.

As iv_event has become one of the core ivykis modules, integrate its
per-thread state directly into struct iv_state instead of making it
use iv_tls.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
test/avl: Reduce test AVL tree size.

So that the testsuite doesn't take forever on slower machines.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>