diff --git a/assets/details1.png b/assets/details1.png new file mode 100644 index 000000000..63542dbe4 Binary files /dev/null and b/assets/details1.png differ diff --git a/assets/details2.png b/assets/details2.png new file mode 100644 index 000000000..da9fccfc7 Binary files /dev/null and b/assets/details2.png differ diff --git a/assets/details2_crop.png b/assets/details2_crop.png new file mode 100644 index 000000000..ce95dfec6 Binary files /dev/null and b/assets/details2_crop.png differ diff --git a/assets/resource_details1.png b/assets/resource_details1.png new file mode 100644 index 000000000..80ffdf930 Binary files /dev/null and b/assets/resource_details1.png differ diff --git a/assets/resource_details2.png b/assets/resource_details2.png new file mode 100644 index 000000000..e5adc088e Binary files /dev/null and b/assets/resource_details2.png differ diff --git a/assets/resource_details_semaphore.png b/assets/resource_details_semaphore.png deleted file mode 100644 index 87126104f..000000000 Binary files a/assets/resource_details_semaphore.png and /dev/null differ diff --git a/assets/resource_details_sleep.png b/assets/resource_details_sleep.png deleted file mode 100644 index 90f13ce14..000000000 Binary files a/assets/resource_details_sleep.png and /dev/null differ diff --git a/assets/resources.png b/assets/resources.png new file mode 100644 index 000000000..c2333b5c3 Binary files /dev/null and b/assets/resources.png differ diff --git a/assets/resources_list.png b/assets/resources_list.png deleted file mode 100644 index 532bc8a07..000000000 Binary files a/assets/resources_list.png and /dev/null differ diff --git a/assets/task_details.png b/assets/task_details.png deleted file mode 100644 index aec18ba2c..000000000 Binary files a/assets/task_details.png and /dev/null differ diff --git a/assets/tasks_list.png b/assets/tasks_list.png index ae0501323..0e71d417c 100644 Binary files a/assets/tasks_list.png and b/assets/tasks_list.png differ diff --git a/tokio-console/README.md b/tokio-console/README.md index 9f07b1d8e..95276af9f 100644 --- a/tokio-console/README.md +++ b/tokio-console/README.md @@ -106,14 +106,14 @@ Using the and arrow keys, an individual ta Pressingenter while a task is highlighted displays details about that task: -![task details](https://raw.githubusercontent.com/tokio-rs/console/main/assets/task_details.png) +![task details](https://raw.githubusercontent.com/tokio-rs/console/main/assets/details2.png) Pressing the escape key returns to the task list. The r key switches from the list of tasks to a list of [resources], such as synchronization primitives, I/O resources, et cetera: -![resource list](https://raw.githubusercontent.com/tokio-rs/console/main/assets/resources_list.png) +![resource list](https://raw.githubusercontent.com/tokio-rs/console/main/assets/resources.png) Pressing the t key switches the view back to the task list. @@ -122,13 +122,13 @@ Like the task list view, the resource list view can be navigated using the and arrow keys. Pressing enter while a resource is highlighted displays details about that resource: -![resource details --- sleep](https://raw.githubusercontent.com/tokio-rs/console/main/assets/resource_details_sleep.png) +![resource details --- oneshot](https://raw.githubusercontent.com/tokio-rs/console/main/assets/resource_details1.png) The resource details view lists the tasks currently waiting on that resource. -This may be a single task, as in the [`tokio::time::Sleep`] above, or -a large number of tasks, such as this private `tokio::sync::batch_semaphore::Semaphore`: +This may be a single task, as in the [`tokio::sync::oneshot`] channel above, or +a large number of tasks, such as this [`tokio::sync::Semaphore`]: -![resource details --- semaphore](https://raw.githubusercontent.com/tokio-rs/console/main/assets/resource_details_semaphore.png) +![resource details --- semaphore](https://raw.githubusercontent.com/tokio-rs/console/main/assets/resource_details2.png) Like the task details view, pressing the escape key while viewing a resource's details returns to the resource list.