Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed Jan 18, 2024
1 parent 0751963 commit c1b099f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/katana/tasks/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ impl<T> Future for BlockingTaskHandle<T> {
/// thread-pool. This is mainly for executing expensive CPU-bound tasks. For spawing blocking
/// IO-bound tasks, use [TokioTaskSpawner::spawn_blocking] instead.
///
/// Refer to the [CPU-bound tasks and blocking code] section of the *tokio* docs for more
/// information.
/// Refer to the [CPU-bound tasks and blocking code] section of the *tokio* docs and this [blog
/// post] for more information.
///
/// [CPU-bound tasks and blocking code]: https://docs.rs/tokio/latest/tokio/index.html#cpu-bound-tasks-and-blocking-code
/// [blog post]: https://ryhl.io/blog/async-what-is-blocking/
#[derive(Debug, Clone)]
pub struct BlockingTaskPool {
pool: Arc<rayon::ThreadPool>,
Expand Down

0 comments on commit c1b099f

Please sign in to comment.