For example (the following system has the potential for deadlock; see Deadlock.java): Semaphore s=1, q=1 process p0 { s.acquire(); q.acquire(); ...
確定! 回上一頁