#thread-pool #multi-threading #threading #high-performance-computing

lft-rust

A lock-free threadpool implementation. We provide a traditional single queue threadpool and a lock-free threadpool

1 unstable release

0.1.0 Jun 4, 2022

#1100 in Concurrency

MIT license

61KB
658 lines

LFT-Rust

A lock-free threadpool implementation in Rust. Research oriented. We developed an interesting idea to mitigate the performance drop introduced by the use of locks in Rust. For details, please refer to our technical reports.

Build

This project is built upon Rust 1.57.0. To build this project, please run the following command:

cargo build

To build a release version of this project, please run:

cargo build --release

We also provide some examples for better using this project, to run an example:

RUST_LOG=trace cargo run --example hello_world

Roadmap

I plan to implement the following features:

Dependencies

~3–12MB
~110K SLoC