pintos project (2) Project 1 Thread -Mission 1 Code

  上一篇博客 分析了一下Mission 1中的代码,现在我们来开始正式实现。   首先,给线程结构体 struct thread{}加上ticks_blocked成员,在threads/thread.h中    /* Record the time the thread has been blocked. */ int64_t ticks_blocked; 在线程创建的时候,ticks
相关文章
相关标签/搜索