Lightweight concurrency and parallelism library