readme
来自「nachos系统作业 实现线程系统 实现一个电梯模拟 附实验报告」· 代码 · 共 60 行
TXT
60 行
From: cs162@po.EECS.Berkeley.EDU (Class Master)Subject: Answer to problems running assignment 5Some people have been having problems running assignment 5.Unfortunately, the way the network gets initialized, if thingsdon't get done in exactly the right order, you can get an errorin sending the first packet to the socket.I have modified synch.h and synch.cc in code/, and re-compiledthe contents of code/network. I was then able to run thetest case successfully, at least one out of two times. See below.So, be careful out there!tom-----------po.EECS.Berkeley.EDU:network>!19./nachos -m 0 -o 1 > & log & ; ./nachos -m 1 -o 0 > & log2 &[1] 10882[2] 10883po.EECS.Berkeley.EDU:network>[2] Illegal instruction ./nachos -m 1 -o 0 >& log2 (core dumped)[1] Illegal instruction ./nachos -m 0 -o 1 >& log (core dumped)po.EECS.Berkeley.EDU:network>rm -f log* SOCKET*po.EECS.Berkeley.EDU:network>!19./nachos -m 0 -o 1 > & log & ; ./nachos -m 1 -o 0 > & log2 &[1] 10895[2] 10896po.EECS.Berkeley.EDU:network>[1] Done ./nachos -m 0 -o 1 >& log[2] Done ./nachos -m 1 -o 0 >& log2more logGot "Hello there!" from 1, box 1Got "Got it!" from 1, box 1Machine halting!Ticks: total 57080, idle 56810, system 270, user 0Disk I/O: reads 2, writes 0Console I/O: reads 0, writes 0Paging: faults 0Network I/O: packets received 2, sent 2Cleaning up...po.EECS.Berkeley.EDU:network>more log2Got "Hello there!" from 0, box 1Got "Got it!" from 0, box 1Machine halting!Ticks: total 58530, idle 58260, system 270, user 0Disk I/O: reads 2, writes 0Console I/O: reads 0, writes 0Paging: faults 0Network I/O: packets received 2, sent 2Cleaning up...
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?