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
相關文章
相關標籤/搜索