C utilities for queues, hashes, synchronization etc