That is, it would be more efficient to allow readers to run while other readers held the lock, but you'd risk a constant stream of reader threads keeping the writer from ever doing its job.
即,允许一些读取器在其他读取器锁定时运行效率更高,但是您可能会有读取器线程的流持续不断的风险,导致编写器无法进行工作。
However, doing this is a bold move and you run the risk of creating a web site that has too much going on.
不过,这样做也有些孤注一掷,你创建的网站可能会显得太繁杂。
Doing this we run the risk of printing the wrong pages, accidentally forgetting the coffee filter and saying the wrong thing.
最终可能是报告印错了页,忘记了咖啡滤网或说错了话。
Warning: you may get away with specifying fewer properties than in the example, but by doing so, you run the risk of encountering peculiar errors later.
警告:你可以逃脱指定比例子较少属性,但这样做,您运行后遇到的特殊错误的风险。
Warning: you may get away with specifying fewer properties than in the example, but by doing so, you run the risk of encountering peculiar errors later.
警告:你可以逃脱指定比例子较少属性,但这样做,您运行后遇到的特殊错误的风险。
应用推荐