If the new thread added to the Ready list is higher than the current one, push out the existing thread and allow it to occupy the CPU. ![]() Modify this scheduler to priority scheduling $ make grade Pintos project #1 result2 Project 2 SchedulingĬurrently, the scheduler of the pintos is implemented as a round robin. Modify the data in a running file to change only when the program is terminated A function that prevents data change is already implemented in pintos.Modify the data in running program files to prevent changes.Need to know exactly where the file is running.If this occurs, write access to running user programs at the OS level should be prevented because the currently running program cannot produce the correct computational results. If the file data of a running user program changes, it is likely that the program will read the changed data differently from the original expected data. ![]() $ pintos – v - run ‘echo x’ Pintos project #1 result1 Prevent data from being written to a running file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |