换句话说,操作系统不会强制您通过锁来共享资源,所以,所有需要该资源的进程都必须协同使用该锁。
In other words, the operating system doesn't enforce the resource sharing through the lock, so all processes that need the resource must cooperate to use the lock.
然而,用户眼中的一个程序或许可能是几个协同操作的进程之集合。
However, what the user sees as a single application may in fact be a set of cooperating processes.
应用推荐