diff --git a/assets/tokio-console-0.1.8/resource_details_semaphore.png b/assets/tokio-console-0.1.8/resource_details_semaphore.png new file mode 100644 index 000000000..7337b7d46 Binary files /dev/null and b/assets/tokio-console-0.1.8/resource_details_semaphore.png differ diff --git a/assets/tokio-console-0.1.8/resource_details_sleep.png b/assets/tokio-console-0.1.8/resource_details_sleep.png new file mode 100644 index 000000000..3458120dc Binary files /dev/null and b/assets/tokio-console-0.1.8/resource_details_sleep.png differ diff --git a/assets/tokio-console-0.1.8/resources_list.png b/assets/tokio-console-0.1.8/resources_list.png new file mode 100644 index 000000000..02d4409b1 Binary files /dev/null and b/assets/tokio-console-0.1.8/resources_list.png differ diff --git a/assets/tokio-console-0.1.8/task_details.png b/assets/tokio-console-0.1.8/task_details.png new file mode 100644 index 000000000..a2c8c7bdc Binary files /dev/null and b/assets/tokio-console-0.1.8/task_details.png differ diff --git a/assets/tokio-console-0.1.8/tasks_list.png b/assets/tokio-console-0.1.8/tasks_list.png new file mode 100644 index 000000000..6c226e71e Binary files /dev/null and b/assets/tokio-console-0.1.8/tasks_list.png differ diff --git a/tokio-console/README.md b/tokio-console/README.md index 95276af9f..74ca34307 100644 --- a/tokio-console/README.md +++ b/tokio-console/README.md @@ -100,20 +100,20 @@ See [here][cli-ref] for a complete list of all command-line arguments. When the console CLI is launched, it displays a list of all [asynchronous tasks] in the program: -![tasks list](https://raw.githubusercontent.com/tokio-rs/console/main/assets/tasks_list.png) +![tasks list](https://raw.githubusercontent.com/tokio-rs/console/main/assets/tokio-console-0.1.8/tasks_list.png) Using the and arrow keys, an individual task can be highlighted. Pressingenter while a task is highlighted displays details about that task: -![task details](https://raw.githubusercontent.com/tokio-rs/console/main/assets/details2.png) +![task details](https://raw.githubusercontent.com/tokio-rs/console/main/assets/tokio-console-0.1.8/task_details.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.png) +![resource list](https://raw.githubusercontent.com/tokio-rs/console/main/assets/tokio-console-0.1.8/resources_list.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 --- oneshot](https://raw.githubusercontent.com/tokio-rs/console/main/assets/resource_details1.png) +![resource details --- sleep](https://raw.githubusercontent.com/tokio-rs/console/main/assets/tokio-console-0.1.8/resource_details_sleep.png) The resource details view lists the tasks currently waiting on that resource. -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`]: +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`: -![resource details --- semaphore](https://raw.githubusercontent.com/tokio-rs/console/main/assets/resource_details2.png) +![resource details --- semaphore](https://raw.githubusercontent.com/tokio-rs/console/main/assets/tokio-console-0.1.8/resource_details_semaphore.png) Like the task details view, pressing the escape key while viewing a resource's details returns to the resource list.