add #![deny(missing_docs)] AND #![deny(warnings)] in main.rs, and add more comments
This commit is contained in:
parent
2b53281dd8
commit
745ea760d0
20 changed files with 126 additions and 13 deletions
|
@ -1,9 +1,12 @@
|
|||
//! Types related to task management
|
||||
|
||||
use super::TaskContext;
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct TaskControlBlock {
|
||||
pub task_status: TaskStatus,
|
||||
pub task_cx: TaskContext,
|
||||
// LAB1: Add whatever you need about the Task.
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue