Skip to content

Commit c7e29c2

Browse files
committed
Update README
1 parent 630f640 commit c7e29c2

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "affinitypool"
33
edition = "2021"
44
version = "0.1.1"
5-
license = "Apache-2.0"
5+
license = "MIT/Apache-2.0"
66
readme = "README.md"
77
description = "A Rust library for running blocking jobs on a dedicated thread pool with CPU core affinity"
88
repository = "https://github.com/surrealdb/affinitypool"
@@ -12,7 +12,6 @@ keywords = ["pool", "parallelism", "threading", "thread", "threadpool"]
1212
categories = ["asynchronous", "concurrency", "os"]
1313
resolver = "2"
1414

15-
1615
[features]
1716
default = []
1817

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@
33
A threadpool for running blocking jobs on a dedicated thread pool. Blocking tasks can be sent asynchronously to the pool, where the task will be queued until a worker thread is free to process the task. Tasks are processed in a FIFO order.
44

55
For optimised workloads, the affinity of each thread can be specified, ensuring that each thread can request to be pinned to a certain CPU core, allowing for more parallelism, and better performance guarantees for blocking workloads.
6+
7+
#### Original
8+
9+
This code is heavily inspired by [threadpool](https://crates.io/crates/threadpool), licensed under the Apache License 2.0 and MIT licenses.

0 commit comments

Comments
 (0)